2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for yandex-fotki-sharing-plugin 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 "$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 "$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 echo_test_string=`eval $cmd` &&
598 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
605 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # The Solaris, AIX, and Digital Unix default echo programs unquote
611 # backslashes. This makes it impossible to quote backslashes using
612 # echo "$something" | sed 's/\\/\\\\/g'
614 # So, first we look for a working echo in the user's PATH.
616 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617 for dir in $PATH /usr/ucb; do
619 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622 test "X$echo_testing_string" = "X$echo_test_string"; then
629 if test "X$echo" = Xecho; then
630 # We didn't find a better echo, so look for alternatives.
631 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # This shell has a builtin print -r that does the trick.
636 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637 test "X$CONFIG_SHELL" != X/bin/ksh; then
638 # If we have ksh, try running configure again with it.
639 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640 export ORIGINAL_CONFIG_SHELL
641 CONFIG_SHELL=/bin/ksh
643 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
647 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649 test "X$echo_testing_string" = "X$echo_test_string"; then
652 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653 test "X$echo_testing_string" = 'X\t' &&
654 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658 SHELL="$CONFIG_SHELL"
660 echo="$CONFIG_SHELL $0 --fallback-echo"
661 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662 test "X$echo_testing_string" = 'X\t' &&
663 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664 test "X$echo_testing_string" = "X$echo_test_string"; then
665 echo="$CONFIG_SHELL $0 --fallback-echo"
667 # maybe with a smaller string...
670 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
678 if test "$prev" != 'sed 50q "$0"'; then
679 echo_test_string=`eval $prev`
680 export echo_test_string
681 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683 # Oops. We lost completely, so just stick with echo.
692 # Copy echo and quote the copy suitably for passing to libtool from
693 # the Makefile, instead of quoting the original, which is used later.
695 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
702 tagnames=${tagnames+${tagnames},}CXX
704 tagnames=${tagnames+${tagnames},}F77
706 exec 7<&0 </dev/null 6>&1
709 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
710 # so uname gets run too.
711 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
716 ac_default_prefix=/usr/local
718 ac_config_libobj_dir=.
724 SHELL=${CONFIG_SHELL-/bin/sh}
726 # Identity of this package.
727 PACKAGE_NAME='yandex-fotki-sharing-plugin'
728 PACKAGE_TARNAME='yandex-fotki-sharing-plugin'
729 PACKAGE_VERSION='0.1'
730 PACKAGE_STRING='yandex-fotki-sharing-plugin 0.1'
733 # Factoring default headers for most tests.
734 ac_includes_default="\
736 #ifdef HAVE_SYS_TYPES_H
737 # include <sys/types.h>
739 #ifdef HAVE_SYS_STAT_H
740 # include <sys/stat.h>
746 # ifdef HAVE_STDLIB_H
751 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
756 #ifdef HAVE_STRINGS_H
757 # include <strings.h>
759 #ifdef HAVE_INTTYPES_H
760 # include <inttypes.h>
778 program_transform_name
820 INSTALL_STRIP_PROGRAM
826 MAINTAINER_MODE_FALSE
890 ac_precious_vars='build_alias
916 # Initialize some variables set by options.
918 ac_init_version=false
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
928 program_transform_name=s,x,x,
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 # Accept the important Cygnus configure options, so we can diagnose typos.
980 case $ac_dashdash$ac_option in
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1004 -datadir | --datadir | --datadi | --datad)
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1016 -disable-* | --disable-*)
1017 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1020 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1023 eval enable_$ac_feature=no ;;
1025 -docdir | --docdir | --docdi | --doc | --do)
1027 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1028 docdir=$ac_optarg ;;
1030 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1032 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1033 dvidir=$ac_optarg ;;
1035 -enable-* | --enable-*)
1036 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1042 eval enable_$ac_feature=\$ac_optarg ;;
1044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1046 | --exec | --exe | --ex)
1047 ac_prev=exec_prefix ;;
1048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1050 | --exec=* | --exe=* | --ex=*)
1051 exec_prefix=$ac_optarg ;;
1053 -gas | --gas | --ga | --g)
1054 # Obsolete; use --with-gas.
1057 -help | --help | --hel | --he | -h)
1058 ac_init_help=long ;;
1059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1060 ac_init_help=recursive ;;
1061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1062 ac_init_help=short ;;
1064 -host | --host | --hos | --ho)
1065 ac_prev=host_alias ;;
1066 -host=* | --host=* | --hos=* | --ho=*)
1067 host_alias=$ac_optarg ;;
1069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1073 htmldir=$ac_optarg ;;
1075 -includedir | --includedir | --includedi | --included | --include \
1076 | --includ | --inclu | --incl | --inc)
1077 ac_prev=includedir ;;
1078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1079 | --includ=* | --inclu=* | --incl=* | --inc=*)
1080 includedir=$ac_optarg ;;
1082 -infodir | --infodir | --infodi | --infod | --info | --inf)
1084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1085 infodir=$ac_optarg ;;
1087 -libdir | --libdir | --libdi | --libd)
1089 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1090 libdir=$ac_optarg ;;
1092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1093 | --libexe | --libex | --libe)
1094 ac_prev=libexecdir ;;
1095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1096 | --libexe=* | --libex=* | --libe=*)
1097 libexecdir=$ac_optarg ;;
1099 -localedir | --localedir | --localedi | --localed | --locale)
1100 ac_prev=localedir ;;
1101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1102 localedir=$ac_optarg ;;
1104 -localstatedir | --localstatedir | --localstatedi | --localstated \
1105 | --localstate | --localstat | --localsta | --localst | --locals)
1106 ac_prev=localstatedir ;;
1107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1109 localstatedir=$ac_optarg ;;
1111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1114 mandir=$ac_optarg ;;
1116 -nfp | --nfp | --nf)
1117 # Obsolete; use --without-fp.
1120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1121 | --no-cr | --no-c | -n)
1124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1130 | --oldin | --oldi | --old | --ol | --o)
1131 ac_prev=oldincludedir ;;
1132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1135 oldincludedir=$ac_optarg ;;
1137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1140 prefix=$ac_optarg ;;
1142 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1143 | --program-pre | --program-pr | --program-p)
1144 ac_prev=program_prefix ;;
1145 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1147 program_prefix=$ac_optarg ;;
1149 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1150 | --program-suf | --program-su | --program-s)
1151 ac_prev=program_suffix ;;
1152 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1154 program_suffix=$ac_optarg ;;
1156 -program-transform-name | --program-transform-name \
1157 | --program-transform-nam | --program-transform-na \
1158 | --program-transform-n | --program-transform- \
1159 | --program-transform | --program-transfor \
1160 | --program-transfo | --program-transf \
1161 | --program-trans | --program-tran \
1162 | --progr-tra | --program-tr | --program-t)
1163 ac_prev=program_transform_name ;;
1164 -program-transform-name=* | --program-transform-name=* \
1165 | --program-transform-nam=* | --program-transform-na=* \
1166 | --program-transform-n=* | --program-transform-=* \
1167 | --program-transform=* | --program-transfor=* \
1168 | --program-transfo=* | --program-transf=* \
1169 | --program-trans=* | --program-tran=* \
1170 | --progr-tra=* | --program-tr=* | --program-t=*)
1171 program_transform_name=$ac_optarg ;;
1173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1176 pdfdir=$ac_optarg ;;
1178 -psdir | --psdir | --psdi | --psd | --ps)
1180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1184 | -silent | --silent | --silen | --sile | --sil)
1187 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1189 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1191 sbindir=$ac_optarg ;;
1193 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1194 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1195 | --sharedst | --shareds | --shared | --share | --shar \
1197 ac_prev=sharedstatedir ;;
1198 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1199 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1200 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1202 sharedstatedir=$ac_optarg ;;
1204 -site | --site | --sit)
1206 -site=* | --site=* | --sit=*)
1209 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1211 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1212 srcdir=$ac_optarg ;;
1214 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1215 | --syscon | --sysco | --sysc | --sys | --sy)
1216 ac_prev=sysconfdir ;;
1217 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1218 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1219 sysconfdir=$ac_optarg ;;
1221 -target | --target | --targe | --targ | --tar | --ta | --t)
1222 ac_prev=target_alias ;;
1223 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1224 target_alias=$ac_optarg ;;
1226 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1229 -version | --version | --versio | --versi | --vers | -V)
1230 ac_init_version=: ;;
1233 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236 { echo "$as_me: error: invalid package name: $ac_package" >&2
1237 { (exit 1); exit 1; }; }
1238 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1239 eval with_$ac_package=\$ac_optarg ;;
1241 -without-* | --without-*)
1242 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245 { echo "$as_me: error: invalid package name: $ac_package" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1248 eval with_$ac_package=no ;;
1251 # Obsolete; use --with-x.
1254 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1255 | --x-incl | --x-inc | --x-in | --x-i)
1256 ac_prev=x_includes ;;
1257 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1258 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1259 x_includes=$ac_optarg ;;
1261 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1262 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1263 ac_prev=x_libraries ;;
1264 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1265 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1266 x_libraries=$ac_optarg ;;
1268 -*) { echo "$as_me: error: unrecognized option: $ac_option
1269 Try \`$0 --help' for more information." >&2
1270 { (exit 1); exit 1; }; }
1274 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275 # Reject names that are not valid shell variable names.
1276 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1277 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1278 { (exit 1); exit 1; }; }
1279 eval $ac_envvar=\$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1286 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1295 { echo "$as_me: error: missing argument to $ac_option" >&2
1296 { (exit 1); exit 1; }; }
1299 # Be sure to have absolute directory names.
1300 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1301 datadir sysconfdir sharedstatedir localstatedir includedir \
1302 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1303 libdir localedir mandir
1305 eval ac_val=\$$ac_var
1307 [\\/$]* | ?:[\\/]* ) continue;;
1308 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1310 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1311 { (exit 1); exit 1; }; }
1314 # There might be people who depend on the old broken behavior: `$host'
1315 # used to hold the argument of --host etc.
1316 # FIXME: To remove some day.
1319 target=$target_alias
1321 # FIXME: To remove some day.
1322 if test "x$host_alias" != x; then
1323 if test "x$build_alias" = x; then
1324 cross_compiling=maybe
1325 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1326 If a cross compiler is detected then cross compile mode will be used." >&2
1327 elif test "x$build_alias" != "x$host_alias"; then
1333 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1335 test "$silent" = yes && exec 6>/dev/null
1338 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1339 ac_ls_di=`ls -di .` &&
1340 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1341 { echo "$as_me: error: Working directory cannot be determined" >&2
1342 { (exit 1); exit 1; }; }
1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1344 { echo "$as_me: error: pwd does not report name of working directory" >&2
1345 { (exit 1); exit 1; }; }
1348 # Find the source files, if location was not specified.
1349 if test -z "$srcdir"; then
1350 ac_srcdir_defaulted=yes
1351 # Try the directory containing this script, then the parent directory.
1352 ac_confdir=`$as_dirname -- "$0" ||
1353 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1354 X"$0" : 'X\(//\)[^/]' \| \
1355 X"$0" : 'X\(//\)$' \| \
1356 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 if test ! -r "$srcdir/$ac_unique_file"; then
1380 ac_srcdir_defaulted=no
1382 if test ! -r "$srcdir/$ac_unique_file"; then
1383 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1384 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1385 { (exit 1); exit 1; }; }
1387 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1389 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1390 { (exit 1); exit 1; }; }
1392 # When building in place, set srcdir=.
1393 if test "$ac_abs_confdir" = "$ac_pwd"; then
1396 # Remove unnecessary trailing slashes from srcdir.
1397 # Double slashes in file names in object file debugging info
1398 # mess up M-x gdb in Emacs.
1400 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1402 for ac_var in $ac_precious_vars; do
1403 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1404 eval ac_env_${ac_var}_value=\$${ac_var}
1405 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1406 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1410 # Report the --help message.
1412 if test "$ac_init_help" = "long"; then
1413 # Omit some internal or obsolete options to make the list less imposing.
1414 # This message is too long to be a string in the A/UX 3.1 sh.
1416 \`configure' configures yandex-fotki-sharing-plugin 0.1 to adapt to many kinds of systems.
1418 Usage: $0 [OPTION]... [VAR=VALUE]...
1420 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1421 VAR=VALUE. See below for descriptions of some of the useful variables.
1423 Defaults for the options are specified in brackets.
1426 -h, --help display this help and exit
1427 --help=short display options specific to this package
1428 --help=recursive display the short help of all the included packages
1429 -V, --version display version information and exit
1430 -q, --quiet, --silent do not print \`checking...' messages
1431 --cache-file=FILE cache test results in FILE [disabled]
1432 -C, --config-cache alias for \`--cache-file=config.cache'
1433 -n, --no-create do not create output files
1434 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1436 Installation directories:
1437 --prefix=PREFIX install architecture-independent files in PREFIX
1438 [$ac_default_prefix]
1439 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1442 By default, \`make install' will install all the files in
1443 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1444 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1445 for instance \`--prefix=\$HOME'.
1447 For better control, use the options below.
1449 Fine tuning of the installation directories:
1450 --bindir=DIR user executables [EPREFIX/bin]
1451 --sbindir=DIR system admin executables [EPREFIX/sbin]
1452 --libexecdir=DIR program executables [EPREFIX/libexec]
1453 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1454 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1455 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1456 --libdir=DIR object code libraries [EPREFIX/lib]
1457 --includedir=DIR C header files [PREFIX/include]
1458 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1459 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1460 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1461 --infodir=DIR info documentation [DATAROOTDIR/info]
1462 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1463 --mandir=DIR man documentation [DATAROOTDIR/man]
1464 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/yandex-fotki-sharing-plugin@:>@
1465 --htmldir=DIR html documentation [DOCDIR]
1466 --dvidir=DIR dvi documentation [DOCDIR]
1467 --pdfdir=DIR pdf documentation [DOCDIR]
1468 --psdir=DIR ps documentation [DOCDIR]
1474 --program-prefix=PREFIX prepend PREFIX to installed program names
1475 --program-suffix=SUFFIX append SUFFIX to installed program names
1476 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1479 --build=BUILD configure for building on BUILD [guessed]
1480 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1484 if test -n "$ac_init_help"; then
1485 case $ac_init_help in
1486 short | recursive ) echo "Configuration of yandex-fotki-sharing-plugin 0.1:";;
1491 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1492 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1493 --enable-maintainer-mode enable make rules and dependencies not useful
1494 (and sometimes confusing) to the casual installer
1495 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1496 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@
1497 --disable-dependency-tracking speeds up one-time build
1498 --enable-dependency-tracking do not reject slow dependency extractors
1499 --enable-fast-install@<:@=PKGS@:>@
1500 optimize for fast installation @<:@default=yes@:>@
1501 --disable-libtool-lock avoid locking (might break parallel builds)
1502 --enable-debug Turn on debug messages
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1508 --with-pic try to use only PIC/non-PIC objects @<:@default=use
1510 --with-tags@<:@=TAGS@:>@ include additional configurations @<:@automatic@:>@
1512 Some influential environment variables:
1513 CC C compiler command
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 LIBS libraries to pass to the linker, e.g. -l<library>
1518 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1519 you have headers in a nonstandard directory <include dir>
1520 CXX C++ compiler command
1521 CXXFLAGS C++ compiler flags
1523 CXXCPP C++ preprocessor
1524 F77 Fortran 77 compiler command
1525 FFLAGS Fortran 77 compiler flags
1526 PKG_CONFIG path to pkg-config utility
1528 C compiler flags for PACKAGE, overriding pkg-config
1530 linker flags for PACKAGE, overriding pkg-config
1532 C compiler flags for SHARING, overriding pkg-config
1534 linker flags for SHARING, overriding pkg-config
1535 XML_CFLAGS C compiler flags for XML, overriding pkg-config
1536 XML_LIBS linker flags for XML, overriding pkg-config
1537 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
1538 CURL_LIBS linker flags for CURL, overriding pkg-config
1540 Use these variables to override the choices made by `configure' or to help
1541 it to find libraries and programs with nonstandard names/locations.
1547 if test "$ac_init_help" = "recursive"; then
1548 # If there are subdirs, report their specific --help.
1549 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1550 test -d "$ac_dir" || continue
1554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1557 # A ".." for each directory in $ac_dir_suffix.
1558 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1559 case $ac_top_builddir_sub in
1560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564 ac_abs_top_builddir=$ac_pwd
1565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566 # for backward compatibility:
1567 ac_top_builddir=$ac_top_build_prefix
1570 .) # We are building in place.
1572 ac_top_srcdir=$ac_top_builddir_sub
1573 ac_abs_top_srcdir=$ac_pwd ;;
1574 [\\/]* | ?:[\\/]* ) # Absolute name.
1575 ac_srcdir=$srcdir$ac_dir_suffix;
1576 ac_top_srcdir=$srcdir
1577 ac_abs_top_srcdir=$srcdir ;;
1579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580 ac_top_srcdir=$ac_top_build_prefix$srcdir
1581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585 cd "$ac_dir" || { ac_status=$?; continue; }
1586 # Check for guested configure.
1587 if test -f "$ac_srcdir/configure.gnu"; then
1589 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590 elif test -f "$ac_srcdir/configure"; then
1592 $SHELL "$ac_srcdir/configure" --help=recursive
1594 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596 cd "$ac_pwd" || { ac_status=$?; break; }
1600 test -n "$ac_init_help" && exit $ac_status
1601 if $ac_init_version; then
1603 yandex-fotki-sharing-plugin configure 0.1
1604 generated by GNU Autoconf 2.61
1606 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1607 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1608 This configure script is free software; the Free Software Foundation
1609 gives unlimited permission to copy, distribute and modify it.
1613 cat >config.log <<_ACEOF
1614 This file contains any messages produced by compilers while
1615 running configure, to aid debugging if configure makes a mistake.
1617 It was created by yandex-fotki-sharing-plugin $as_me 0.1, which was
1618 generated by GNU Autoconf 2.61. Invocation command line was
1626 @%:@@%:@ --------- @%:@@%:@
1627 @%:@@%:@ Platform. @%:@@%:@
1628 @%:@@%:@ --------- @%:@@%:@
1630 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1631 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1632 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1633 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1634 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1636 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1637 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1639 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1640 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1641 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1642 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1643 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1644 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1645 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653 test -z "$as_dir" && as_dir=.
1654 echo "PATH: $as_dir"
1663 @%:@@%:@ ----------- @%:@@%:@
1664 @%:@@%:@ Core tests. @%:@@%:@
1665 @%:@@%:@ ----------- @%:@@%:@
1670 # Keep a trace of the command line.
1671 # Strip out --no-create and --no-recursion so they do not pile up.
1672 # Strip out --silent because we don't want to record it for future runs.
1673 # Also quote any args containing shell meta-characters.
1674 # Make two passes to allow for proper duplicate-argument suppression.
1678 ac_must_keep_next=false
1684 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1686 | -silent | --silent | --silen | --sile | --sil)
1689 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1692 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1694 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1695 if test $ac_must_keep_next = true; then
1696 ac_must_keep_next=false # Got value, back to normal.
1699 *=* | --config-cache | -C | -disable-* | --disable-* \
1700 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1701 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1702 | -with-* | --with-* | -without-* | --without-* | --x)
1703 case "$ac_configure_args0 " in
1704 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1707 -* ) ac_must_keep_next=true ;;
1710 ac_configure_args="$ac_configure_args '$ac_arg'"
1715 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1716 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1718 # When interrupted or exit'd, cleanup temporary files, and complete
1719 # config.log. We remove comments because anyway the quotes in there
1720 # would cause problems or look ugly.
1721 # WARNING: Use '\'' to represent an apostrophe within the trap.
1722 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1723 trap 'exit_status=$?
1724 # Save into config.log some information that might help in debugging.
1729 @%:@@%:@ ---------------- @%:@@%:@
1730 @%:@@%:@ Cache variables. @%:@@%:@
1731 @%:@@%:@ ---------------- @%:@@%:@
1734 # The following way of writing the cache mishandles newlines in values,
1736 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1737 eval ac_val=\$$ac_var
1741 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1742 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1745 _ | IFS | as_nl) ;; #(
1746 *) $as_unset $ac_var ;;
1751 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1752 *${as_nl}ac_space=\ *)
1754 "s/'\''/'\''\\\\'\'''\''/g;
1755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1758 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1766 @%:@@%:@ ----------------- @%:@@%:@
1767 @%:@@%:@ Output variables. @%:@@%:@
1768 @%:@@%:@ ----------------- @%:@@%:@
1771 for ac_var in $ac_subst_vars
1773 eval ac_val=\$$ac_var
1775 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1777 echo "$ac_var='\''$ac_val'\''"
1781 if test -n "$ac_subst_files"; then
1783 @%:@@%:@ ------------------- @%:@@%:@
1784 @%:@@%:@ File substitutions. @%:@@%:@
1785 @%:@@%:@ ------------------- @%:@@%:@
1788 for ac_var in $ac_subst_files
1790 eval ac_val=\$$ac_var
1792 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1794 echo "$ac_var='\''$ac_val'\''"
1799 if test -s confdefs.h; then
1801 @%:@@%:@ ----------- @%:@@%:@
1802 @%:@@%:@ confdefs.h. @%:@@%:@
1803 @%:@@%:@ ----------- @%:@@%:@
1809 test "$ac_signal" != 0 &&
1810 echo "$as_me: caught signal $ac_signal"
1811 echo "$as_me: exit $exit_status"
1813 rm -f core *.core core.conftest.* &&
1814 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1817 for ac_signal in 1 2 13 15; do
1818 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1822 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1823 rm -f -r conftest* confdefs.h
1825 # Predefined preprocessor variables.
1827 cat >>confdefs.h <<_ACEOF
1828 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1832 cat >>confdefs.h <<_ACEOF
1833 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1837 cat >>confdefs.h <<_ACEOF
1838 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1842 cat >>confdefs.h <<_ACEOF
1843 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1847 cat >>confdefs.h <<_ACEOF
1848 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1852 # Let the site file select an alternate cache file if it wants to.
1853 # Prefer explicitly selected file to automatically selected ones.
1854 if test -n "$CONFIG_SITE"; then
1855 set x "$CONFIG_SITE"
1856 elif test "x$prefix" != xNONE; then
1857 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1859 set x "$ac_default_prefix/share/config.site" \
1860 "$ac_default_prefix/etc/config.site"
1865 if test -r "$ac_site_file"; then
1866 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1867 echo "$as_me: loading site script $ac_site_file" >&6;}
1868 sed 's/^/| /' "$ac_site_file" >&5
1873 if test -r "$cache_file"; then
1874 # Some versions of bash will fail to source /dev/null (special
1875 # files actually), so we avoid doing that.
1876 if test -f "$cache_file"; then
1877 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1878 echo "$as_me: loading cache $cache_file" >&6;}
1880 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1881 *) . "./$cache_file";;
1885 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1886 echo "$as_me: creating cache $cache_file" >&6;}
1890 # Check that the precious variables saved in the cache have kept the same
1892 ac_cache_corrupted=false
1893 for ac_var in $ac_precious_vars; do
1894 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1895 eval ac_new_set=\$ac_env_${ac_var}_set
1896 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1897 eval ac_new_val=\$ac_env_${ac_var}_value
1898 case $ac_old_set,$ac_new_set in
1900 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1901 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1902 ac_cache_corrupted=: ;;
1904 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1905 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1906 ac_cache_corrupted=: ;;
1909 if test "x$ac_old_val" != "x$ac_new_val"; then
1910 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1911 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1912 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1913 echo "$as_me: former value: $ac_old_val" >&2;}
1914 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1915 echo "$as_me: current value: $ac_new_val" >&2;}
1916 ac_cache_corrupted=:
1919 # Pass precious variables to config.status.
1920 if test "$ac_new_set" = set; then
1922 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1923 *) ac_arg=$ac_var=$ac_new_val ;;
1925 case " $ac_configure_args " in
1926 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1927 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1931 if $ac_cache_corrupted; then
1932 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1933 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1934 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1935 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1936 { (exit 1); exit 1; }; }
1964 ac_cpp='$CPP $CPPFLAGS'
1965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970 am__api_version="1.8"
1972 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1973 if test -f "$ac_dir/install-sh"; then
1975 ac_install_sh="$ac_aux_dir/install-sh -c"
1977 elif test -f "$ac_dir/install.sh"; then
1979 ac_install_sh="$ac_aux_dir/install.sh -c"
1981 elif test -f "$ac_dir/shtool"; then
1983 ac_install_sh="$ac_aux_dir/shtool install -c"
1987 if test -z "$ac_aux_dir"; then
1988 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1989 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1990 { (exit 1); exit 1; }; }
1993 # These three variables are undocumented and unsupported,
1994 # and are intended to be withdrawn in a future Autoconf release.
1995 # They can cause serious problems if a builder's source tree is in a directory
1996 # whose full name contains unusual characters.
1997 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1998 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1999 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2002 # Find a good install program. We prefer a C program (faster),
2003 # so one script is as good as another. But avoid the broken or
2004 # incompatible versions:
2005 # SysV /etc/install, /usr/sbin/install
2006 # SunOS /usr/etc/install
2007 # IRIX /sbin/install
2009 # AmigaOS /C/install, which installs bootblocks on floppy discs
2010 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2011 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2013 # OS/2's system install, which has a completely different semantic
2014 # ./install, which can be erroneously created by make from ./install.sh.
2015 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2016 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2017 if test -z "$INSTALL"; then
2018 if test "${ac_cv_path_install+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 # Account for people who put trailing slashes in PATH elements.
2028 ./ | .// | /cC/* | \
2029 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2030 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2033 # OSF1 and SCO ODT 3.0 have their own names for install.
2034 # Don't use installbsd from OSF since it installs stuff as root
2036 for ac_prog in ginstall scoinst install; do
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2039 if test $ac_prog = install &&
2040 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2041 # AIX install. It has an incompatible calling convention.
2043 elif test $ac_prog = install &&
2044 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2045 # program-specific install script used by HP pwplus--don't use.
2048 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2061 if test "${ac_cv_path_install+set}" = set; then
2062 INSTALL=$ac_cv_path_install
2064 # As a last resort, use the slow shell script. Don't cache a
2065 # value for INSTALL within a source directory, because that will
2066 # break other packages using the cache if that directory is
2067 # removed, or if the value is a relative name.
2068 INSTALL=$ac_install_sh
2071 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2072 echo "${ECHO_T}$INSTALL" >&6; }
2074 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2075 # It thinks the first close brace ends the variable substitution.
2076 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2078 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2080 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2082 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2083 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2086 echo timestamp > conftest.file
2087 # Do `set' in a subshell so we don't clobber the current shell's
2088 # arguments. Must try -L first in case configure is actually a
2089 # symlink; some systems play weird games with the mod time of symlinks
2090 # (eg FreeBSD returns the mod time of the symlink's containing
2093 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2094 if test "$*" = "X"; then
2096 set X `ls -t $srcdir/configure conftest.file`
2099 if test "$*" != "X $srcdir/configure conftest.file" \
2100 && test "$*" != "X conftest.file $srcdir/configure"; then
2102 # If neither matched, then we have a broken ls. This can happen
2103 # if, for instance, CONFIG_SHELL is bash and it inherits a
2104 # broken ls alias from the environment. This has actually
2105 # happened. Such a system could not be considered "sane".
2106 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2107 alias in your environment" >&5
2108 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2109 alias in your environment" >&2;}
2110 { (exit 1); exit 1; }; }
2113 test "$2" = conftest.file
2119 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2120 Check your system clock" >&5
2121 echo "$as_me: error: newly created file is older than distributed files!
2122 Check your system clock" >&2;}
2123 { (exit 1); exit 1; }; }
2125 { echo "$as_me:$LINENO: result: yes" >&5
2126 echo "${ECHO_T}yes" >&6; }
2127 test "$program_prefix" != NONE &&
2128 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2129 # Use a double $ so make ignores it.
2130 test "$program_suffix" != NONE &&
2131 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2132 # Double any \ or $. echo might interpret backslashes.
2133 # By default was `s,x,x', remove it if useless.
2134 cat <<\_ACEOF >conftest.sed
2135 s/[\\$]/&&/g;s/;s,x,x,$//
2137 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2140 # expand $ac_aux_dir to an absolute path
2141 am_aux_dir=`cd $ac_aux_dir && pwd`
2143 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2144 # Use eval to expand $SHELL
2145 if eval "$MISSING --run true"; then
2146 am_missing_run="$MISSING --run "
2149 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2150 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2153 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2154 # Keeping the `.' argument allows $(mkdir_p) to be used without
2155 # argument. Indeed, we sometimes output rules like
2156 # $(mkdir_p) $(somedir)
2157 # where $(somedir) is conditionally defined.
2158 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
2159 # expensive solution, as it forces Make to start a sub-shell.)
2160 mkdir_p='mkdir -p -- .'
2162 # On NextStep and OpenStep, the `mkdir' command does not
2163 # recognize any option. It will interpret all options as
2164 # directories to create, and then abort because `.' already
2166 for d in ./-p ./--version;
2168 test -d $d && rmdir $d
2170 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2171 if test -f "$ac_aux_dir/mkinstalldirs"; then
2172 mkdir_p='$(mkinstalldirs)'
2174 mkdir_p='$(install_sh) -d'
2178 for ac_prog in gawk mawk nawk awk
2180 # Extract the first word of "$ac_prog", so it can be a program name with args.
2181 set dummy $ac_prog; ac_word=$2
2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184 if test "${ac_cv_prog_AWK+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$AWK"; then
2188 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_prog_AWK="$ac_prog"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test -n "$AWK"; then
2209 { echo "$as_me:$LINENO: result: $AWK" >&5
2210 echo "${ECHO_T}$AWK" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2217 test -n "$AWK" && break
2220 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2221 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2222 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2223 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 cat >conftest.make <<\_ACEOF
2229 @echo '@@@%%%=$(MAKE)=@@@%%%'
2231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2232 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2234 eval ac_cv_prog_make_${ac_make}_set=yes;;
2236 eval ac_cv_prog_make_${ac_make}_set=no;;
2240 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2241 { echo "$as_me:$LINENO: result: yes" >&5
2242 echo "${ECHO_T}yes" >&6; }
2245 { echo "$as_me:$LINENO: result: no" >&5
2246 echo "${ECHO_T}no" >&6; }
2247 SET_MAKE="MAKE=${MAKE-make}"
2250 rm -rf .tst 2>/dev/null
2251 mkdir .tst 2>/dev/null
2252 if test -d .tst; then
2257 rmdir .tst 2>/dev/null
2259 # test to see if srcdir already configured
2260 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2261 test -f $srcdir/config.status; then
2262 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2263 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2264 { (exit 1); exit 1; }; }
2267 # test whether we have cygpath
2268 if test -z "$CYGPATH_W"; then
2269 if (cygpath --version) >/dev/null 2>/dev/null; then
2270 CYGPATH_W='cygpath -w'
2277 # Define the identity of the package.
2278 PACKAGE='yandex-fotki-sharing-plugin'
2282 cat >>confdefs.h <<_ACEOF
2283 @%:@define PACKAGE "$PACKAGE"
2287 cat >>confdefs.h <<_ACEOF
2288 @%:@define VERSION "$VERSION"
2291 # Some tools Automake needs.
2293 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2296 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2299 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2302 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2305 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2308 AMTAR=${AMTAR-"${am_missing_run}tar"}
2310 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2312 # Installed binaries are usually stripped using `strip' when the user
2313 # run `make install-strip'. However `strip' might not be the right
2314 # tool to use in cross-compilation environments, therefore Automake
2315 # will honor the `STRIP' environment variable to overrule this program.
2316 if test "$cross_compiling" != no; then
2317 if test -n "$ac_tool_prefix"; then
2318 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2319 set dummy ${ac_tool_prefix}strip; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_STRIP+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$STRIP"; then
2326 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 STRIP=$ac_cv_prog_STRIP
2346 if test -n "$STRIP"; then
2347 { echo "$as_me:$LINENO: result: $STRIP" >&5
2348 echo "${ECHO_T}$STRIP" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2356 if test -z "$ac_cv_prog_STRIP"; then
2358 # Extract the first word of "strip", so it can be a program name with args.
2359 set dummy strip; ac_word=$2
2360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 if test -n "$ac_ct_STRIP"; then
2366 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375 ac_cv_prog_ac_ct_STRIP="strip"
2376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2386 if test -n "$ac_ct_STRIP"; then
2387 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2388 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2390 { echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6; }
2394 if test "x$ac_ct_STRIP" = x; then
2397 case $cross_compiling:$ac_tool_warned in
2399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2400 whose name does not start with the host triplet. If you think this
2401 configuration is useful to you, please write to autoconf@gnu.org." >&5
2402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2403 whose name does not start with the host triplet. If you think this
2404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2405 ac_tool_warned=yes ;;
2410 STRIP="$ac_cv_prog_STRIP"
2414 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2416 # We need awk for the "check" target. The system "awk" is bad on
2422 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2423 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2424 # Check whether --enable-maintainer-mode was given.
2425 if test "${enable_maintainer_mode+set}" = set; then
2426 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2428 USE_MAINTAINER_MODE=no
2431 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2432 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2435 if test $USE_MAINTAINER_MODE = yes; then
2436 MAINTAINER_MODE_TRUE=
2437 MAINTAINER_MODE_FALSE='#'
2439 MAINTAINER_MODE_TRUE='#'
2440 MAINTAINER_MODE_FALSE=
2443 MAINT=$MAINTAINER_MODE_TRUE
2446 ac_config_headers="$ac_config_headers config.h"
2451 # Check whether --enable-shared was given.
2452 if test "${enable_shared+set}" = set; then
2453 enableval=$enable_shared; p=${PACKAGE-default}
2455 yes) enable_shared=yes ;;
2456 no) enable_shared=no ;;
2459 # Look at the argument we got. We use all the common list separators.
2460 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2461 for pkg in $enableval; do
2463 if test "X$pkg" = "X$p"; then
2475 # Check whether --enable-static was given.
2476 if test "${enable_static+set}" = set; then
2477 enableval=$enable_static; p=${PACKAGE-default}
2479 yes) enable_static=yes ;;
2480 no) enable_static=no ;;
2483 # Look at the argument we got. We use all the common list separators.
2484 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2485 for pkg in $enableval; do
2487 if test "X$pkg" = "X$p"; then
2499 DEPDIR="${am__leading_dot}deps"
2501 ac_config_commands="$ac_config_commands depfiles"
2504 am_make=${MAKE-make}
2505 cat > confinc << 'END'
2510 # If we don't find an include directive, just comment out the code.
2511 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2512 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2516 # First try GNU make style include.
2517 echo "include confinc" > confmf
2518 # We grep out `Entering directory' and `Leaving directory'
2519 # messages which can occur if `w' ends up in MAKEFLAGS.
2520 # In particular we don't look at `^make:' because GNU make might
2521 # be invoked under some other name (usually "gmake"), in which
2522 # case it prints its new name instead of `make'.
2523 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2528 # Now try BSD make style include.
2529 if test "$am__include" = "#"; then
2530 echo '.include "confinc"' > confmf
2531 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2532 am__include=.include
2539 { echo "$as_me:$LINENO: result: $_am_result" >&5
2540 echo "${ECHO_T}$_am_result" >&6; }
2541 rm -f confinc confmf
2543 # Check whether --enable-dependency-tracking was given.
2544 if test "${enable_dependency_tracking+set}" = set; then
2545 enableval=$enable_dependency_tracking;
2548 if test "x$enable_dependency_tracking" != xno; then
2549 am_depcomp="$ac_aux_dir/depcomp"
2554 if test "x$enable_dependency_tracking" != xno; then
2565 ac_cpp='$CPP $CPPFLAGS'
2566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2569 if test -n "$ac_tool_prefix"; then
2570 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2574 if test "${ac_cv_prog_CC+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 if test -n "$CC"; then
2578 ac_cv_prog_CC="$CC" # Let the user override the test.
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 if test -n "$CC"; then
2599 { echo "$as_me:$LINENO: result: $CC" >&5
2600 echo "${ECHO_T}$CC" >&6; }
2602 { echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6; }
2608 if test -z "$ac_cv_prog_CC"; then
2610 # Extract the first word of "gcc", so it can be a program name with args.
2611 set dummy gcc; ac_word=$2
2612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2614 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 if test -n "$ac_ct_CC"; then
2618 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_ac_ct_CC="gcc"
2628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2638 if test -n "$ac_ct_CC"; then
2639 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2640 echo "${ECHO_T}$ac_ct_CC" >&6; }
2642 { echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6; }
2646 if test "x$ac_ct_CC" = x; then
2649 case $cross_compiling:$ac_tool_warned in
2651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2652 whose name does not start with the host triplet. If you think this
2653 configuration is useful to you, please write to autoconf@gnu.org." >&5
2654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2655 whose name does not start with the host triplet. If you think this
2656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2657 ac_tool_warned=yes ;;
2665 if test -z "$CC"; then
2666 if test -n "$ac_tool_prefix"; then
2667 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2668 set dummy ${ac_tool_prefix}cc; ac_word=$2
2669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2671 if test "${ac_cv_prog_CC+set}" = set; then
2672 echo $ECHO_N "(cached) $ECHO_C" >&6
2674 if test -n "$CC"; then
2675 ac_cv_prog_CC="$CC" # Let the user override the test.
2677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir=.
2682 for ac_exec_ext in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 ac_cv_prog_CC="${ac_tool_prefix}cc"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 if test -n "$CC"; then
2696 { echo "$as_me:$LINENO: result: $CC" >&5
2697 echo "${ECHO_T}$CC" >&6; }
2699 { echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6; }
2706 if test -z "$CC"; then
2707 # Extract the first word of "cc", so it can be a program name with args.
2708 set dummy cc; ac_word=$2
2709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC="$CC" # Let the user override the test.
2718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir=.
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2725 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2726 ac_prog_rejected=yes
2730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 if test $ac_prog_rejected = yes; then
2738 # We found a bogon in the path, so make sure we never use it.
2739 set dummy $ac_cv_prog_CC
2741 if test $@%:@ != 0; then
2742 # We chose a different compiler from the bogus one.
2743 # However, it has the same basename, so the bogon will be chosen
2744 # first if we set CC to just the basename; use the full file name.
2746 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2752 if test -n "$CC"; then
2753 { echo "$as_me:$LINENO: result: $CC" >&5
2754 echo "${ECHO_T}$CC" >&6; }
2756 { echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6; }
2762 if test -z "$CC"; then
2763 if test -n "$ac_tool_prefix"; then
2764 for ac_prog in cl.exe
2766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2767 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2770 if test "${ac_cv_prog_CC+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 if test -n "$CC"; then
2774 ac_cv_prog_CC="$CC" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2783 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 if test -n "$CC"; then
2795 { echo "$as_me:$LINENO: result: $CC" >&5
2796 echo "${ECHO_T}$CC" >&6; }
2798 { echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6; }
2803 test -n "$CC" && break
2806 if test -z "$CC"; then
2808 for ac_prog in cl.exe
2810 # Extract the first word of "$ac_prog", so it can be a program name with args.
2811 set dummy $ac_prog; ac_word=$2
2812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2814 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 if test -n "$ac_ct_CC"; then
2818 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827 ac_cv_prog_ac_ct_CC="$ac_prog"
2828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2838 if test -n "$ac_ct_CC"; then
2839 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2840 echo "${ECHO_T}$ac_ct_CC" >&6; }
2842 { echo "$as_me:$LINENO: result: no" >&5
2843 echo "${ECHO_T}no" >&6; }
2847 test -n "$ac_ct_CC" && break
2850 if test "x$ac_ct_CC" = x; then
2853 case $cross_compiling:$ac_tool_warned in
2855 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2856 whose name does not start with the host triplet. If you think this
2857 configuration is useful to you, please write to autoconf@gnu.org." >&5
2858 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2859 whose name does not start with the host triplet. If you think this
2860 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2861 ac_tool_warned=yes ;;
2870 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2871 See \`config.log' for more details." >&5
2872 echo "$as_me: error: no acceptable C compiler found in \$PATH
2873 See \`config.log' for more details." >&2;}
2874 { (exit 1); exit 1; }; }
2876 # Provide some information about the compiler.
2877 echo "$as_me:$LINENO: checking for C compiler version" >&5
2878 ac_compiler=`set X $ac_compile; echo $2`
2879 { (ac_try="$ac_compiler --version >&5"
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2885 (eval "$ac_compiler --version >&5") 2>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }
2889 { (ac_try="$ac_compiler -v >&5"
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;;
2894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2895 (eval "$ac_compiler -v >&5") 2>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2899 { (ac_try="$ac_compiler -V >&5"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compiler -V >&5") 2>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 ac_clean_files_save=$ac_clean_files
2926 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2927 # Try to create an executable without -o first, disregard a.out.
2928 # It will help us diagnose broken compilers, and finding out an intuition
2930 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2931 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2932 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2934 # List of possible output files, starting from the most likely.
2935 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2936 # only as a last resort. b.out is created by i960 compilers.
2937 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2939 # The IRIX 6 linker writes into existing files which may not be
2940 # executable, retaining their permissions. Remove them first so a
2941 # subsequent execution test works.
2943 for ac_file in $ac_files
2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2952 if { (ac_try="$ac_link_default"
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2958 (eval "$ac_link_default") 2>&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; then
2962 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2963 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2964 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2965 # so that the user can short-circuit this test for compilers unknown to
2967 for ac_file in $ac_files ''
2969 test -f "$ac_file" || continue
2971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2974 # We found the default executable, but exeext='' is most
2978 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2980 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2982 # We set ac_cv_exeext here because the later test for it is not
2983 # safe: cross compilers may not add the suffix if given an `-o'
2984 # argument, so we may need to know it at that point already.
2985 # Even if this section looks crufty: it has the advantage of
2992 test "$ac_cv_exeext" = no && ac_cv_exeext=
2998 { echo "$as_me:$LINENO: result: $ac_file" >&5
2999 echo "${ECHO_T}$ac_file" >&6; }
3000 if test -z "$ac_file"; then
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
3005 See \`config.log' for more details." >&5
3006 echo "$as_me: error: C compiler cannot create executables
3007 See \`config.log' for more details." >&2;}
3008 { (exit 77); exit 77; }; }
3011 ac_exeext=$ac_cv_exeext
3013 # Check that the compiler produces executables we can run. If not, either
3014 # the compiler is broken, or we cross compile.
3015 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3016 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3017 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3018 # If not cross compiling, check that we can run a simple program.
3019 if test "$cross_compiling" != yes; then
3020 if { ac_try='./$ac_file'
3021 { (case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3026 (eval "$ac_try") 2>&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3032 if test "$cross_compiling" = maybe; then
3035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3036 If you meant to cross compile, use \`--host'.
3037 See \`config.log' for more details." >&5
3038 echo "$as_me: error: cannot run C compiled programs.
3039 If you meant to cross compile, use \`--host'.
3040 See \`config.log' for more details." >&2;}
3041 { (exit 1); exit 1; }; }
3045 { echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6; }
3048 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3049 ac_clean_files=$ac_clean_files_save
3050 # Check that the compiler produces executables we can run. If not, either
3051 # the compiler is broken, or we cross compile.
3052 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3054 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
3055 echo "${ECHO_T}$cross_compiling" >&6; }
3057 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
3058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3059 if { (ac_try="$ac_link"
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3065 (eval "$ac_link") 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }; then
3069 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3070 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3071 # work properly (i.e., refer to `conftest.exe'), while it won't with
3073 for ac_file in conftest.exe conftest conftest.*; do
3074 test -f "$ac_file" || continue
3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }
3090 rm -f conftest$ac_cv_exeext
3091 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3092 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3094 rm -f conftest.$ac_ext
3095 EXEEXT=$ac_cv_exeext
3097 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3098 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3099 if test "${ac_cv_objext+set}" = set; then
3100 echo $ECHO_N "(cached) $ECHO_C" >&6
3102 cat >conftest.$ac_ext <<_ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3117 rm -f conftest.o conftest.obj
3118 if { (ac_try="$ac_compile"
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compile") 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; then
3128 for ac_file in conftest.o conftest.obj conftest.*; do
3129 test -f "$ac_file" || continue;
3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3140 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3147 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3149 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3150 echo "${ECHO_T}$ac_cv_objext" >&6; }
3151 OBJEXT=$ac_cv_objext
3153 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3154 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3155 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 cat >conftest.$ac_ext <<_ACEOF
3161 cat confdefs.h >>conftest.$ac_ext
3162 cat >>conftest.$ac_ext <<_ACEOF
3163 /* end confdefs.h. */
3176 rm -f conftest.$ac_objext
3177 if { (ac_try="$ac_compile"
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183 (eval "$ac_compile") 2>conftest.er1
3185 grep -v '^ *+' conftest.er1 >conftest.err
3187 cat conftest.err >&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } && {
3190 test -z "$ac_c_werror_flag" ||
3191 test ! -s conftest.err
3192 } && test -s conftest.$ac_objext; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3202 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3205 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3206 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3207 GCC=`test $ac_compiler_gnu = yes && echo yes`
3208 ac_test_CFLAGS=${CFLAGS+set}
3209 ac_save_CFLAGS=$CFLAGS
3210 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3211 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3212 if test "${ac_cv_prog_cc_g+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 ac_save_c_werror_flag=$ac_c_werror_flag
3216 ac_c_werror_flag=yes
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3234 rm -f conftest.$ac_objext
3235 if { (ac_try="$ac_compile"
3237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3241 (eval "$ac_compile") 2>conftest.er1
3243 grep -v '^ *+' conftest.er1 >conftest.err
3245 cat conftest.err >&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } && {
3248 test -z "$ac_c_werror_flag" ||
3249 test ! -s conftest.err
3250 } && test -s conftest.$ac_objext; then
3253 echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.$ac_ext >&5
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3272 rm -f conftest.$ac_objext
3273 if { (ac_try="$ac_compile"
3275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3276 *) ac_try_echo=$ac_try;;
3278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3279 (eval "$ac_compile") 2>conftest.er1
3281 grep -v '^ *+' conftest.er1 >conftest.err
3283 cat conftest.err >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } && {
3286 test -z "$ac_c_werror_flag" ||
3287 test ! -s conftest.err
3288 } && test -s conftest.$ac_objext; then
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 ac_c_werror_flag=$ac_save_c_werror_flag
3296 cat >conftest.$ac_ext <<_ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3311 rm -f conftest.$ac_objext
3312 if { (ac_try="$ac_compile"
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compile") 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } && {
3325 test -z "$ac_c_werror_flag" ||
3326 test ! -s conftest.err
3327 } && test -s conftest.$ac_objext; then
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3343 ac_c_werror_flag=$ac_save_c_werror_flag
3345 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3346 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3347 if test "$ac_test_CFLAGS" = set; then
3348 CFLAGS=$ac_save_CFLAGS
3349 elif test $ac_cv_prog_cc_g = yes; then
3350 if test "$GCC" = yes; then
3356 if test "$GCC" = yes; then
3362 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3363 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3364 if test "${ac_cv_prog_cc_c89+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 ac_cv_prog_cc_c89=no
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3377 #include <sys/types.h>
3378 #include <sys/stat.h>
3379 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3380 struct buf { int x; };
3381 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3382 static char *e (p, i)
3388 static char *f (char * (*g) (char **, int), char **p, ...)
3393 s = g (p, va_arg (v,int));
3398 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3399 function prototypes and stuff, but not '\xHH' hex character constants.
3400 These don't provoke an error unfortunately, instead are silently treated
3401 as 'x'. The following induces an error, until -std is added to get
3402 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3403 array size at least. It's necessary to write '\x00'==0 to get something
3404 that's true only with -std. */
3405 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3407 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3408 inside strings and character constants. */
3410 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3412 int test (int i, double x);
3413 struct s1 {int (*f) (int a);};
3414 struct s2 {int (*f) (double a);};
3415 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3421 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3426 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3427 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3429 CC="$ac_save_CC $ac_arg"
3430 rm -f conftest.$ac_objext
3431 if { (ac_try="$ac_compile"
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3437 (eval "$ac_compile") 2>conftest.er1
3439 grep -v '^ *+' conftest.er1 >conftest.err
3441 cat conftest.err >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } && {
3444 test -z "$ac_c_werror_flag" ||
3445 test ! -s conftest.err
3446 } && test -s conftest.$ac_objext; then
3447 ac_cv_prog_cc_c89=$ac_arg
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3455 rm -f core conftest.err conftest.$ac_objext
3456 test "x$ac_cv_prog_cc_c89" != "xno" && break
3458 rm -f conftest.$ac_ext
3463 case "x$ac_cv_prog_cc_c89" in
3465 { echo "$as_me:$LINENO: result: none needed" >&5
3466 echo "${ECHO_T}none needed" >&6; } ;;
3468 { echo "$as_me:$LINENO: result: unsupported" >&5
3469 echo "${ECHO_T}unsupported" >&6; } ;;
3471 CC="$CC $ac_cv_prog_cc_c89"
3472 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3473 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3478 ac_cpp='$CPP $CPPFLAGS'
3479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3483 depcc="$CC" am_compiler_list=
3485 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3486 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3487 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3491 # We make a subdir and do the tests there. Otherwise we can end up
3492 # making bogus files that we don't know about and never remove. For
3493 # instance it was reported that on HP-UX the gcc test will end up
3494 # making a dummy file named `D' -- because `-MD' means `put the output
3497 # Copy depcomp to subdir because otherwise we won't find it if we're
3498 # using a relative directory.
3499 cp "$am_depcomp" conftest.dir
3501 # We will build objects and dependencies in a subdirectory because
3502 # it helps to detect inapplicable dependency modes. For instance
3503 # both Tru64's cc and ICC support -MD to output dependencies as a
3504 # side effect of compilation, but ICC will put the dependencies in
3505 # the current directory while Tru64 will put them in the object
3509 am_cv_CC_dependencies_compiler_type=none
3510 if test "$am_compiler_list" = ""; then
3511 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3513 for depmode in $am_compiler_list; do
3514 # Setup a source with many dependencies, because some compilers
3515 # like to wrap large dependency lists on column 80 (with \), and
3516 # we should not choose a depcomp mode which is confused by this.
3518 # We need to recreate these files for each test, as the compiler may
3519 # overwrite some of them when testing with obscure command lines.
3520 # This happens at least with the AIX C compiler.
3522 for i in 1 2 3 4 5 6; do
3523 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3524 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3525 # Solaris 8's {/usr,}/bin/sh.
3526 touch sub/conftst$i.h
3528 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3532 # after this tag, mechanisms are not by side-effect, so they'll
3533 # only be used when explicitly requested
3534 if test "x$enable_dependency_tracking" = xyes; then
3542 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3543 # mode. It turns out that the SunPro C++ compiler does not properly
3544 # handle `-M -o', and we need to detect this.
3545 if depmode=$depmode \
3546 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3547 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3548 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3549 >/dev/null 2>conftest.err &&
3550 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3551 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3552 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3553 # icc doesn't choke on unknown options, it will just issue warnings
3554 # or remarks (even with -Werror). So we grep stderr for any message
3555 # that says an option was ignored or not supported.
3556 # When given -MP, icc 7.0 and 7.1 complain thusly:
3557 # icc: Command line warning: ignoring option '-M'; no argument required
3558 # The diagnosis changed in icc 8.0:
3559 # icc: Command line remark: option '-MP' not supported
3560 if (grep 'ignoring option' conftest.err ||
3561 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3562 am_cv_CC_dependencies_compiler_type=$depmode
3571 am_cv_CC_dependencies_compiler_type=none
3575 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3576 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3577 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3582 test "x$enable_dependency_tracking" != xno \
3583 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3585 am__fastdepCC_FALSE='#'
3587 am__fastdepCC_TRUE='#'
3588 am__fastdepCC_FALSE=
3593 { echo "$as_me:$LINENO: checking for library containing strerror" >&5
3594 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3595 if test "${ac_cv_search_strerror+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 ac_func_search_save_LIBS=$LIBS
3599 cat >conftest.$ac_ext <<_ACEOF
3602 cat confdefs.h >>conftest.$ac_ext
3603 cat >>conftest.$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3606 /* Override any GCC internal prototype to avoid an error.
3607 Use char because int might match the return type of a GCC
3608 builtin and then its argument prototype would still apply. */
3621 for ac_lib in '' cposix; do
3622 if test -z "$ac_lib"; then
3623 ac_res="none required"
3626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3628 rm -f conftest.$ac_objext conftest$ac_exeext
3629 if { (ac_try="$ac_link"
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3635 (eval "$ac_link") 2>conftest.er1
3637 grep -v '^ *+' conftest.er1 >conftest.err
3639 cat conftest.err >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } && {
3642 test -z "$ac_c_werror_flag" ||
3643 test ! -s conftest.err
3644 } && test -s conftest$ac_exeext &&
3645 $as_test_x conftest$ac_exeext; then
3646 ac_cv_search_strerror=$ac_res
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3656 if test "${ac_cv_search_strerror+set}" = set; then
3660 if test "${ac_cv_search_strerror+set}" = set; then
3663 ac_cv_search_strerror=no
3666 LIBS=$ac_func_search_save_LIBS
3668 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3669 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3670 ac_res=$ac_cv_search_strerror
3671 if test "$ac_res" != no; then
3672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3677 ac_cpp='$CXXCPP $CPPFLAGS'
3678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3681 if test -z "$CXX"; then
3682 if test -n "$CCC"; then
3685 if test -n "$ac_tool_prefix"; then
3686 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3692 if test "${ac_cv_prog_CXX+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 if test -n "$CXX"; then
3696 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 if test -n "$CXX"; then
3717 { echo "$as_me:$LINENO: result: $CXX" >&5
3718 echo "${ECHO_T}$CXX" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3725 test -n "$CXX" && break
3728 if test -z "$CXX"; then
3730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3732 # Extract the first word of "$ac_prog", so it can be a program name with args.
3733 set dummy $ac_prog; ac_word=$2
3734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3736 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$ac_ct_CXX"; then
3740 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_ac_ct_CXX="$ac_prog"
3750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3760 if test -n "$ac_ct_CXX"; then
3761 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3762 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3764 { echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6; }
3769 test -n "$ac_ct_CXX" && break
3772 if test "x$ac_ct_CXX" = x; then
3775 case $cross_compiling:$ac_tool_warned in
3777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3778 whose name does not start with the host triplet. If you think this
3779 configuration is useful to you, please write to autoconf@gnu.org." >&5
3780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3781 whose name does not start with the host triplet. If you think this
3782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3783 ac_tool_warned=yes ;;
3791 # Provide some information about the compiler.
3792 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3793 ac_compiler=`set X $ac_compile; echo $2`
3794 { (ac_try="$ac_compiler --version >&5"
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797 *) ac_try_echo=$ac_try;;
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800 (eval "$ac_compiler --version >&5") 2>&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }
3804 { (ac_try="$ac_compiler -v >&5"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_compiler -v >&5") 2>&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }
3814 { (ac_try="$ac_compiler -V >&5"
3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3820 (eval "$ac_compiler -V >&5") 2>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }
3825 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3826 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3827 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 cat >conftest.$ac_ext <<_ACEOF
3833 cat confdefs.h >>conftest.$ac_ext
3834 cat >>conftest.$ac_ext <<_ACEOF
3835 /* end confdefs.h. */
3848 rm -f conftest.$ac_objext
3849 if { (ac_try="$ac_compile"
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3855 (eval "$ac_compile") 2>conftest.er1
3857 grep -v '^ *+' conftest.er1 >conftest.err
3859 cat conftest.err >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } && {
3862 test -z "$ac_cxx_werror_flag" ||
3863 test ! -s conftest.err
3864 } && test -s conftest.$ac_objext; then
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3874 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3877 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3878 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3879 GXX=`test $ac_compiler_gnu = yes && echo yes`
3880 ac_test_CXXFLAGS=${CXXFLAGS+set}
3881 ac_save_CXXFLAGS=$CXXFLAGS
3882 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3883 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3884 if test "${ac_cv_prog_cxx_g+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3888 ac_cxx_werror_flag=yes
3891 cat >conftest.$ac_ext <<_ACEOF
3894 cat confdefs.h >>conftest.$ac_ext
3895 cat >>conftest.$ac_ext <<_ACEOF
3896 /* end confdefs.h. */
3906 rm -f conftest.$ac_objext
3907 if { (ac_try="$ac_compile"
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3913 (eval "$ac_compile") 2>conftest.er1
3915 grep -v '^ *+' conftest.er1 >conftest.err
3917 cat conftest.err >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } && {
3920 test -z "$ac_cxx_werror_flag" ||
3921 test ! -s conftest.err
3922 } && test -s conftest.$ac_objext; then
3923 ac_cv_prog_cxx_g=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.$ac_ext >&5
3929 cat >conftest.$ac_ext <<_ACEOF
3932 cat confdefs.h >>conftest.$ac_ext
3933 cat >>conftest.$ac_ext <<_ACEOF
3934 /* end confdefs.h. */
3944 rm -f conftest.$ac_objext
3945 if { (ac_try="$ac_compile"
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_compile") 2>conftest.er1
3953 grep -v '^ *+' conftest.er1 >conftest.err
3955 cat conftest.err >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } && {
3958 test -z "$ac_cxx_werror_flag" ||
3959 test ! -s conftest.err
3960 } && test -s conftest.$ac_objext; then
3963 echo "$as_me: failed program was:" >&5
3964 sed 's/^/| /' conftest.$ac_ext >&5
3966 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3968 cat >conftest.$ac_ext <<_ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h. */
3983 rm -f conftest.$ac_objext
3984 if { (ac_try="$ac_compile"
3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 *) ac_try_echo=$ac_try;;
3989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3990 (eval "$ac_compile") 2>conftest.er1
3992 grep -v '^ *+' conftest.er1 >conftest.err
3994 cat conftest.err >&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } && {
3997 test -z "$ac_cxx_werror_flag" ||
3998 test ! -s conftest.err
3999 } && test -s conftest.$ac_objext; then
4000 ac_cv_prog_cxx_g=yes
4002 echo "$as_me: failed program was:" >&5
4003 sed 's/^/| /' conftest.$ac_ext >&5
4008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4015 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4017 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4018 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4019 if test "$ac_test_CXXFLAGS" = set; then
4020 CXXFLAGS=$ac_save_CXXFLAGS
4021 elif test $ac_cv_prog_cxx_g = yes; then
4022 if test "$GXX" = yes; then
4028 if test "$GXX" = yes; then
4035 ac_cpp='$CPP $CPPFLAGS'
4036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4040 depcc="$CXX" am_compiler_list=
4042 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4043 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4044 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4048 # We make a subdir and do the tests there. Otherwise we can end up
4049 # making bogus files that we don't know about and never remove. For
4050 # instance it was reported that on HP-UX the gcc test will end up
4051 # making a dummy file named `D' -- because `-MD' means `put the output
4054 # Copy depcomp to subdir because otherwise we won't find it if we're
4055 # using a relative directory.
4056 cp "$am_depcomp" conftest.dir
4058 # We will build objects and dependencies in a subdirectory because
4059 # it helps to detect inapplicable dependency modes. For instance
4060 # both Tru64's cc and ICC support -MD to output dependencies as a
4061 # side effect of compilation, but ICC will put the dependencies in
4062 # the current directory while Tru64 will put them in the object
4066 am_cv_CXX_dependencies_compiler_type=none
4067 if test "$am_compiler_list" = ""; then
4068 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4070 for depmode in $am_compiler_list; do
4071 # Setup a source with many dependencies, because some compilers
4072 # like to wrap large dependency lists on column 80 (with \), and
4073 # we should not choose a depcomp mode which is confused by this.
4075 # We need to recreate these files for each test, as the compiler may
4076 # overwrite some of them when testing with obscure command lines.
4077 # This happens at least with the AIX C compiler.
4079 for i in 1 2 3 4 5 6; do
4080 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4081 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4082 # Solaris 8's {/usr,}/bin/sh.
4083 touch sub/conftst$i.h
4085 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4089 # after this tag, mechanisms are not by side-effect, so they'll
4090 # only be used when explicitly requested
4091 if test "x$enable_dependency_tracking" = xyes; then
4099 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4100 # mode. It turns out that the SunPro C++ compiler does not properly
4101 # handle `-M -o', and we need to detect this.
4102 if depmode=$depmode \
4103 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4104 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4105 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4106 >/dev/null 2>conftest.err &&
4107 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4108 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4109 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4110 # icc doesn't choke on unknown options, it will just issue warnings
4111 # or remarks (even with -Werror). So we grep stderr for any message
4112 # that says an option was ignored or not supported.
4113 # When given -MP, icc 7.0 and 7.1 complain thusly:
4114 # icc: Command line warning: ignoring option '-M'; no argument required
4115 # The diagnosis changed in icc 8.0:
4116 # icc: Command line remark: option '-MP' not supported
4117 if (grep 'ignoring option' conftest.err ||
4118 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4119 am_cv_CXX_dependencies_compiler_type=$depmode
4128 am_cv_CXX_dependencies_compiler_type=none
4132 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4133 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4134 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4139 test "x$enable_dependency_tracking" != xno \
4140 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4141 am__fastdepCXX_TRUE=
4142 am__fastdepCXX_FALSE='#'
4144 am__fastdepCXX_TRUE='#'
4145 am__fastdepCXX_FALSE=
4150 ac_cpp='$CPP $CPPFLAGS'
4151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4154 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4155 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4156 # On Suns, sometimes $CPP names a directory.
4157 if test -n "$CPP" && test -d "$CPP"; then
4160 if test -z "$CPP"; then
4161 if test "${ac_cv_prog_CPP+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 # Double quotes because CPP needs to be expanded
4165 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4168 for ac_c_preproc_warn_flag in '' yes
4170 # Use a header file that comes with gcc, so configuring glibc
4171 # with a fresh cross-compiler works.
4172 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4173 # <limits.h> exists even on freestanding compilers.
4174 # On the NeXT, cc -E runs the code through the compiler's parser,
4175 # not just through cpp. "Syntax error" is here to catch this case.
4176 cat >conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4183 @%:@ include <limits.h>
4185 @%:@ include <assert.h>
4189 if { (ac_try="$ac_cpp conftest.$ac_ext"
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4197 grep -v '^ *+' conftest.er1 >conftest.err
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } >/dev/null && {
4202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 # Broken: fails on valid input.
4214 rm -f conftest.err conftest.$ac_ext
4216 # OK, works on sane cases. Now check whether nonexistent headers
4217 # can be detected and how.
4218 cat >conftest.$ac_ext <<_ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4224 @%:@include <ac_nonexistent.h>
4226 if { (ac_try="$ac_cpp conftest.$ac_ext"
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4234 grep -v '^ *+' conftest.er1 >conftest.err
4236 cat conftest.err >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); } >/dev/null && {
4239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4240 test ! -s conftest.err
4242 # Broken: success on invalid input.
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4248 # Passes both tests.
4253 rm -f conftest.err conftest.$ac_ext
4256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4257 rm -f conftest.err conftest.$ac_ext
4258 if $ac_preproc_ok; then
4270 { echo "$as_me:$LINENO: result: $CPP" >&5
4271 echo "${ECHO_T}$CPP" >&6; }
4273 for ac_c_preproc_warn_flag in '' yes
4275 # Use a header file that comes with gcc, so configuring glibc
4276 # with a fresh cross-compiler works.
4277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 # <limits.h> exists even on freestanding compilers.
4279 # On the NeXT, cc -E runs the code through the compiler's parser,
4280 # not just through cpp. "Syntax error" is here to catch this case.
4281 cat >conftest.$ac_ext <<_ACEOF
4284 cat confdefs.h >>conftest.$ac_ext
4285 cat >>conftest.$ac_ext <<_ACEOF
4286 /* end confdefs.h. */
4288 @%:@ include <limits.h>
4290 @%:@ include <assert.h>
4294 if { (ac_try="$ac_cpp conftest.$ac_ext"
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4302 grep -v '^ *+' conftest.er1 >conftest.err
4304 cat conftest.err >&5
4305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306 (exit $ac_status); } >/dev/null && {
4307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4308 test ! -s conftest.err
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 # Broken: fails on valid input.
4319 rm -f conftest.err conftest.$ac_ext
4321 # OK, works on sane cases. Now check whether nonexistent headers
4322 # can be detected and how.
4323 cat >conftest.$ac_ext <<_ACEOF
4326 cat confdefs.h >>conftest.$ac_ext
4327 cat >>conftest.$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4329 @%:@include <ac_nonexistent.h>
4331 if { (ac_try="$ac_cpp conftest.$ac_ext"
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4339 grep -v '^ *+' conftest.er1 >conftest.err
4341 cat conftest.err >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } >/dev/null && {
4344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4345 test ! -s conftest.err
4347 # Broken: success on invalid input.
4350 echo "$as_me: failed program was:" >&5
4351 sed 's/^/| /' conftest.$ac_ext >&5
4353 # Passes both tests.
4358 rm -f conftest.err conftest.$ac_ext
4361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4362 rm -f conftest.err conftest.$ac_ext
4363 if $ac_preproc_ok; then
4366 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4367 See \`config.log' for more details." >&5
4368 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4369 See \`config.log' for more details." >&2;}
4370 { (exit 1); exit 1; }; }
4374 ac_cpp='$CPP $CPPFLAGS'
4375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4384 if test -n "$ac_tool_prefix"; then
4385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4386 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4389 if test "${ac_cv_prog_CC+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$CC"; then
4393 ac_cv_prog_CC="$CC" # Let the user override the test.
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 if test -n "$CC"; then
4414 { echo "$as_me:$LINENO: result: $CC" >&5
4415 echo "${ECHO_T}$CC" >&6; }
4417 { echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6; }
4423 if test -z "$ac_cv_prog_CC"; then
4425 # Extract the first word of "gcc", so it can be a program name with args.
4426 set dummy gcc; ac_word=$2
4427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 if test -n "$ac_ct_CC"; then
4433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4442 ac_cv_prog_ac_ct_CC="gcc"
4443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4453 if test -n "$ac_ct_CC"; then
4454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4455 echo "${ECHO_T}$ac_ct_CC" >&6; }
4457 { echo "$as_me:$LINENO: result: no" >&5
4458 echo "${ECHO_T}no" >&6; }
4461 if test "x$ac_ct_CC" = x; then
4464 case $cross_compiling:$ac_tool_warned in
4466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4467 whose name does not start with the host triplet. If you think this
4468 configuration is useful to you, please write to autoconf@gnu.org." >&5
4469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4470 whose name does not start with the host triplet. If you think this
4471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4472 ac_tool_warned=yes ;;
4480 if test -z "$CC"; then
4481 if test -n "$ac_tool_prefix"; then
4482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4483 set dummy ${ac_tool_prefix}cc; ac_word=$2
4484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4486 if test "${ac_cv_prog_CC+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 if test -n "$CC"; then
4490 ac_cv_prog_CC="$CC" # Let the user override the test.
4492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir=.
4497 for ac_exec_ext in '' $ac_executable_extensions; do
4498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499 ac_cv_prog_CC="${ac_tool_prefix}cc"
4500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4510 if test -n "$CC"; then
4511 { echo "$as_me:$LINENO: result: $CC" >&5
4512 echo "${ECHO_T}$CC" >&6; }
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4521 if test -z "$CC"; then
4522 # Extract the first word of "cc", so it can be a program name with args.
4523 set dummy cc; ac_word=$2
4524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4526 if test "${ac_cv_prog_CC+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir=.
4538 for ac_exec_ext in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4541 ac_prog_rejected=yes
4545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 if test $ac_prog_rejected = yes; then
4553 # We found a bogon in the path, so make sure we never use it.
4554 set dummy $ac_cv_prog_CC
4556 if test $@%:@ != 0; then
4557 # We chose a different compiler from the bogus one.
4558 # However, it has the same basename, so the bogon will be chosen
4559 # first if we set CC to just the basename; use the full file name.
4561 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4567 if test -n "$CC"; then
4568 { echo "$as_me:$LINENO: result: $CC" >&5
4569 echo "${ECHO_T}$CC" >&6; }
4571 { echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6; }
4577 if test -z "$CC"; then
4578 if test -n "$ac_tool_prefix"; then
4579 for ac_prog in cl.exe
4581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4582 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4585 if test "${ac_cv_prog_CC+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4588 if test -n "$CC"; then
4589 ac_cv_prog_CC="$CC" # Let the user override the test.
4591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir=.
4596 for ac_exec_ext in '' $ac_executable_extensions; do
4597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 if test -n "$CC"; then
4610 { echo "$as_me:$LINENO: result: $CC" >&5
4611 echo "${ECHO_T}$CC" >&6; }
4613 { echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6; }
4618 test -n "$CC" && break
4621 if test -z "$CC"; then
4623 for ac_prog in cl.exe
4625 # Extract the first word of "$ac_prog", so it can be a program name with args.
4626 set dummy $ac_prog; ac_word=$2
4627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4629 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 if test -n "$ac_ct_CC"; then
4633 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 test -z "$as_dir" && as_dir=.
4640 for ac_exec_ext in '' $ac_executable_extensions; do
4641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4642 ac_cv_prog_ac_ct_CC="$ac_prog"
4643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4653 if test -n "$ac_ct_CC"; then
4654 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4655 echo "${ECHO_T}$ac_ct_CC" >&6; }
4657 { echo "$as_me:$LINENO: result: no" >&5
4658 echo "${ECHO_T}no" >&6; }
4662 test -n "$ac_ct_CC" && break
4665 if test "x$ac_ct_CC" = x; then
4668 case $cross_compiling:$ac_tool_warned in
4670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4671 whose name does not start with the host triplet. If you think this
4672 configuration is useful to you, please write to autoconf@gnu.org." >&5
4673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4674 whose name does not start with the host triplet. If you think this
4675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4676 ac_tool_warned=yes ;;
4685 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4686 See \`config.log' for more details." >&5
4687 echo "$as_me: error: no acceptable C compiler found in \$PATH
4688 See \`config.log' for more details." >&2;}
4689 { (exit 1); exit 1; }; }
4691 # Provide some information about the compiler.
4692 echo "$as_me:$LINENO: checking for C compiler version" >&5
4693 ac_compiler=`set X $ac_compile; echo $2`
4694 { (ac_try="$ac_compiler --version >&5"
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_compiler --version >&5") 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }
4704 { (ac_try="$ac_compiler -v >&5"
4706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4710 (eval "$ac_compiler -v >&5") 2>&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }
4714 { (ac_try="$ac_compiler -V >&5"
4716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4717 *) ac_try_echo=$ac_try;;
4719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4720 (eval "$ac_compiler -V >&5") 2>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }
4725 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4726 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4727 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 cat >conftest.$ac_ext <<_ACEOF
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4748 rm -f conftest.$ac_objext
4749 if { (ac_try="$ac_compile"
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4755 (eval "$ac_compile") 2>conftest.er1
4757 grep -v '^ *+' conftest.er1 >conftest.err
4759 cat conftest.err >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } && {
4762 test -z "$ac_c_werror_flag" ||
4763 test ! -s conftest.err
4764 } && test -s conftest.$ac_objext; then
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4774 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4777 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4778 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4779 GCC=`test $ac_compiler_gnu = yes && echo yes`
4780 ac_test_CFLAGS=${CFLAGS+set}
4781 ac_save_CFLAGS=$CFLAGS
4782 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4783 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4784 if test "${ac_cv_prog_cc_g+set}" = set; then
4785 echo $ECHO_N "(cached) $ECHO_C" >&6
4787 ac_save_c_werror_flag=$ac_c_werror_flag
4788 ac_c_werror_flag=yes
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4806 rm -f conftest.$ac_objext
4807 if { (ac_try="$ac_compile"
4809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4810 *) ac_try_echo=$ac_try;;
4812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4813 (eval "$ac_compile") 2>conftest.er1
4815 grep -v '^ *+' conftest.er1 >conftest.err
4817 cat conftest.err >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } && {
4820 test -z "$ac_c_werror_flag" ||
4821 test ! -s conftest.err
4822 } && test -s conftest.$ac_objext; then
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4844 rm -f conftest.$ac_objext
4845 if { (ac_try="$ac_compile"
4847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4848 *) ac_try_echo=$ac_try;;
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_compile") 2>conftest.er1
4853 grep -v '^ *+' conftest.er1 >conftest.err
4855 cat conftest.err >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } && {
4858 test -z "$ac_c_werror_flag" ||
4859 test ! -s conftest.err
4860 } && test -s conftest.$ac_objext; then
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.$ac_ext >&5
4866 ac_c_werror_flag=$ac_save_c_werror_flag
4868 cat >conftest.$ac_ext <<_ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4883 rm -f conftest.$ac_objext
4884 if { (ac_try="$ac_compile"
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_compile") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest.$ac_objext; then
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4915 ac_c_werror_flag=$ac_save_c_werror_flag
4917 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4918 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4919 if test "$ac_test_CFLAGS" = set; then
4920 CFLAGS=$ac_save_CFLAGS
4921 elif test $ac_cv_prog_cc_g = yes; then
4922 if test "$GCC" = yes; then
4928 if test "$GCC" = yes; then
4934 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4935 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4936 if test "${ac_cv_prog_cc_c89+set}" = set; then
4937 echo $ECHO_N "(cached) $ECHO_C" >&6
4939 ac_cv_prog_cc_c89=no
4941 cat >conftest.$ac_ext <<_ACEOF
4944 cat confdefs.h >>conftest.$ac_ext
4945 cat >>conftest.$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4949 #include <sys/types.h>
4950 #include <sys/stat.h>
4951 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4952 struct buf { int x; };
4953 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4954 static char *e (p, i)
4960 static char *f (char * (*g) (char **, int), char **p, ...)
4965 s = g (p, va_arg (v,int));
4970 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4971 function prototypes and stuff, but not '\xHH' hex character constants.
4972 These don't provoke an error unfortunately, instead are silently treated
4973 as 'x'. The following induces an error, until -std is added to get
4974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4975 array size at least. It's necessary to write '\x00'==0 to get something
4976 that's true only with -std. */
4977 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4979 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4980 inside strings and character constants. */
4982 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4984 int test (int i, double x);
4985 struct s1 {int (*f) (int a);};
4986 struct s2 {int (*f) (double a);};
4987 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4993 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4998 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5001 CC="$ac_save_CC $ac_arg"
5002 rm -f conftest.$ac_objext
5003 if { (ac_try="$ac_compile"
5005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5006 *) ac_try_echo=$ac_try;;
5008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5009 (eval "$ac_compile") 2>conftest.er1
5011 grep -v '^ *+' conftest.er1 >conftest.err
5013 cat conftest.err >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } && {
5016 test -z "$ac_c_werror_flag" ||
5017 test ! -s conftest.err
5018 } && test -s conftest.$ac_objext; then
5019 ac_cv_prog_cc_c89=$ac_arg
5021 echo "$as_me: failed program was:" >&5
5022 sed 's/^/| /' conftest.$ac_ext >&5
5027 rm -f core conftest.err conftest.$ac_objext
5028 test "x$ac_cv_prog_cc_c89" != "xno" && break
5030 rm -f conftest.$ac_ext
5035 case "x$ac_cv_prog_cc_c89" in
5037 { echo "$as_me:$LINENO: result: none needed" >&5
5038 echo "${ECHO_T}none needed" >&6; } ;;
5040 { echo "$as_me:$LINENO: result: unsupported" >&5
5041 echo "${ECHO_T}unsupported" >&6; } ;;
5043 CC="$CC $ac_cv_prog_cc_c89"
5044 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5045 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5050 ac_cpp='$CPP $CPPFLAGS'
5051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5055 depcc="$CC" am_compiler_list=
5057 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5058 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5059 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5063 # We make a subdir and do the tests there. Otherwise we can end up
5064 # making bogus files that we don't know about and never remove. For
5065 # instance it was reported that on HP-UX the gcc test will end up
5066 # making a dummy file named `D' -- because `-MD' means `put the output
5069 # Copy depcomp to subdir because otherwise we won't find it if we're
5070 # using a relative directory.
5071 cp "$am_depcomp" conftest.dir
5073 # We will build objects and dependencies in a subdirectory because
5074 # it helps to detect inapplicable dependency modes. For instance
5075 # both Tru64's cc and ICC support -MD to output dependencies as a
5076 # side effect of compilation, but ICC will put the dependencies in
5077 # the current directory while Tru64 will put them in the object
5081 am_cv_CC_dependencies_compiler_type=none
5082 if test "$am_compiler_list" = ""; then
5083 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5085 for depmode in $am_compiler_list; do
5086 # Setup a source with many dependencies, because some compilers
5087 # like to wrap large dependency lists on column 80 (with \), and
5088 # we should not choose a depcomp mode which is confused by this.
5090 # We need to recreate these files for each test, as the compiler may
5091 # overwrite some of them when testing with obscure command lines.
5092 # This happens at least with the AIX C compiler.
5094 for i in 1 2 3 4 5 6; do
5095 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5096 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5097 # Solaris 8's {/usr,}/bin/sh.
5098 touch sub/conftst$i.h
5100 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5104 # after this tag, mechanisms are not by side-effect, so they'll
5105 # only be used when explicitly requested
5106 if test "x$enable_dependency_tracking" = xyes; then
5114 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5115 # mode. It turns out that the SunPro C++ compiler does not properly
5116 # handle `-M -o', and we need to detect this.
5117 if depmode=$depmode \
5118 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5119 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5120 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5121 >/dev/null 2>conftest.err &&
5122 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5123 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5124 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5125 # icc doesn't choke on unknown options, it will just issue warnings
5126 # or remarks (even with -Werror). So we grep stderr for any message
5127 # that says an option was ignored or not supported.
5128 # When given -MP, icc 7.0 and 7.1 complain thusly:
5129 # icc: Command line warning: ignoring option '-M'; no argument required
5130 # The diagnosis changed in icc 8.0:
5131 # icc: Command line remark: option '-MP' not supported
5132 if (grep 'ignoring option' conftest.err ||
5133 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5134 am_cv_CC_dependencies_compiler_type=$depmode
5143 am_cv_CC_dependencies_compiler_type=none
5147 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5148 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5149 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5154 test "x$enable_dependency_tracking" != xno \
5155 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5157 am__fastdepCC_FALSE='#'
5159 am__fastdepCC_TRUE='#'
5160 am__fastdepCC_FALSE=
5165 ac_cpp='$CPP $CPPFLAGS'
5166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5171 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5174 if test "${ac_cv_prog_CC+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 if test -n "$CC"; then
5178 ac_cv_prog_CC="$CC" # Let the user override the test.
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 if test -n "$CC"; then
5199 { echo "$as_me:$LINENO: result: $CC" >&5
5200 echo "${ECHO_T}$CC" >&6; }
5202 { echo "$as_me:$LINENO: result: no" >&5
5203 echo "${ECHO_T}no" >&6; }
5208 if test -z "$ac_cv_prog_CC"; then
5210 # Extract the first word of "gcc", so it can be a program name with args.
5211 set dummy gcc; ac_word=$2
5212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5214 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 if test -n "$ac_ct_CC"; then
5218 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_ac_ct_CC="gcc"
5228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5238 if test -n "$ac_ct_CC"; then
5239 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5240 echo "${ECHO_T}$ac_ct_CC" >&6; }
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5246 if test "x$ac_ct_CC" = x; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5252 whose name does not start with the host triplet. If you think this
5253 configuration is useful to you, please write to autoconf@gnu.org." >&5
5254 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5255 whose name does not start with the host triplet. If you think this
5256 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5257 ac_tool_warned=yes ;;
5265 if test -z "$CC"; then
5266 if test -n "$ac_tool_prefix"; then
5267 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5268 set dummy ${ac_tool_prefix}cc; ac_word=$2
5269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5271 if test "${ac_cv_prog_CC+set}" = set; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 if test -n "$CC"; then
5275 ac_cv_prog_CC="$CC" # Let the user override the test.
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284 ac_cv_prog_CC="${ac_tool_prefix}cc"
5285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5295 if test -n "$CC"; then
5296 { echo "$as_me:$LINENO: result: $CC" >&5
5297 echo "${ECHO_T}$CC" >&6; }
5299 { echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6; }
5306 if test -z "$CC"; then
5307 # Extract the first word of "cc", so it can be a program name with args.
5308 set dummy cc; ac_word=$2
5309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5311 if test "${ac_cv_prog_CC+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test -n "$CC"; then
5315 ac_cv_prog_CC="$CC" # Let the user override the test.
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5326 ac_prog_rejected=yes
5330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 if test $ac_prog_rejected = yes; then
5338 # We found a bogon in the path, so make sure we never use it.
5339 set dummy $ac_cv_prog_CC
5341 if test $@%:@ != 0; then
5342 # We chose a different compiler from the bogus one.
5343 # However, it has the same basename, so the bogon will be chosen
5344 # first if we set CC to just the basename; use the full file name.
5346 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5352 if test -n "$CC"; then
5353 { echo "$as_me:$LINENO: result: $CC" >&5
5354 echo "${ECHO_T}$CC" >&6; }
5356 { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5362 if test -z "$CC"; then
5363 if test -n "$ac_tool_prefix"; then
5364 for ac_prog in cl.exe
5366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5367 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5370 if test "${ac_cv_prog_CC+set}" = set; then
5371 echo $ECHO_N "(cached) $ECHO_C" >&6
5373 if test -n "$CC"; then
5374 ac_cv_prog_CC="$CC" # Let the user override the test.
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5383 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5394 if test -n "$CC"; then
5395 { echo "$as_me:$LINENO: result: $CC" >&5
5396 echo "${ECHO_T}$CC" >&6; }
5398 { echo "$as_me:$LINENO: result: no" >&5
5399 echo "${ECHO_T}no" >&6; }
5403 test -n "$CC" && break
5406 if test -z "$CC"; then
5408 for ac_prog in cl.exe
5410 # Extract the first word of "$ac_prog", so it can be a program name with args.
5411 set dummy $ac_prog; ac_word=$2
5412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 if test -n "$ac_ct_CC"; then
5418 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5427 ac_cv_prog_ac_ct_CC="$ac_prog"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5437 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5438 if test -n "$ac_ct_CC"; then
5439 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5440 echo "${ECHO_T}$ac_ct_CC" >&6; }
5442 { echo "$as_me:$LINENO: result: no" >&5
5443 echo "${ECHO_T}no" >&6; }
5447 test -n "$ac_ct_CC" && break
5450 if test "x$ac_ct_CC" = x; then
5453 case $cross_compiling:$ac_tool_warned in
5455 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5456 whose name does not start with the host triplet. If you think this
5457 configuration is useful to you, please write to autoconf@gnu.org." >&5
5458 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5459 whose name does not start with the host triplet. If you think this
5460 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5461 ac_tool_warned=yes ;;
5470 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5471 See \`config.log' for more details." >&5
5472 echo "$as_me: error: no acceptable C compiler found in \$PATH
5473 See \`config.log' for more details." >&2;}
5474 { (exit 1); exit 1; }; }
5476 # Provide some information about the compiler.
5477 echo "$as_me:$LINENO: checking for C compiler version" >&5
5478 ac_compiler=`set X $ac_compile; echo $2`
5479 { (ac_try="$ac_compiler --version >&5"
5481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5482 *) ac_try_echo=$ac_try;;
5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 (eval "$ac_compiler --version >&5") 2>&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); }
5489 { (ac_try="$ac_compiler -v >&5"
5491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5495 (eval "$ac_compiler -v >&5") 2>&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }
5499 { (ac_try="$ac_compiler -V >&5"
5501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_compiler -V >&5") 2>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }
5510 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5511 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5512 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5533 rm -f conftest.$ac_objext
5534 if { (ac_try="$ac_compile"
5536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5537 *) ac_try_echo=$ac_try;;
5539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5540 (eval "$ac_compile") 2>conftest.er1
5542 grep -v '^ *+' conftest.er1 >conftest.err
5544 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } && {
5547 test -z "$ac_c_werror_flag" ||
5548 test ! -s conftest.err
5549 } && test -s conftest.$ac_objext; then
5552 echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5559 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5562 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5563 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5564 GCC=`test $ac_compiler_gnu = yes && echo yes`
5565 ac_test_CFLAGS=${CFLAGS+set}
5566 ac_save_CFLAGS=$CFLAGS
5567 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5568 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5569 if test "${ac_cv_prog_cc_g+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 ac_save_c_werror_flag=$ac_c_werror_flag
5573 ac_c_werror_flag=yes
5576 cat >conftest.$ac_ext <<_ACEOF
5579 cat confdefs.h >>conftest.$ac_ext
5580 cat >>conftest.$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5591 rm -f conftest.$ac_objext
5592 if { (ac_try="$ac_compile"
5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_compile") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1 >conftest.err
5602 cat conftest.err >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && {
5605 test -z "$ac_c_werror_flag" ||
5606 test ! -s conftest.err
5607 } && test -s conftest.$ac_objext; then
5610 echo "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.$ac_ext >&5
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5629 rm -f conftest.$ac_objext
5630 if { (ac_try="$ac_compile"
5632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633 *) ac_try_echo=$ac_try;;
5635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636 (eval "$ac_compile") 2>conftest.er1
5638 grep -v '^ *+' conftest.er1 >conftest.err
5640 cat conftest.err >&5
5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 (exit $ac_status); } && {
5643 test -z "$ac_c_werror_flag" ||
5644 test ! -s conftest.err
5645 } && test -s conftest.$ac_objext; then
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5651 ac_c_werror_flag=$ac_save_c_werror_flag
5653 cat >conftest.$ac_ext <<_ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5668 rm -f conftest.$ac_objext
5669 if { (ac_try="$ac_compile"
5671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672 *) ac_try_echo=$ac_try;;
5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675 (eval "$ac_compile") 2>conftest.er1
5677 grep -v '^ *+' conftest.er1 >conftest.err
5679 cat conftest.err >&5
5680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && {
5682 test -z "$ac_c_werror_flag" ||
5683 test ! -s conftest.err
5684 } && test -s conftest.$ac_objext; then
5687 echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.$ac_ext >&5
5693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5700 ac_c_werror_flag=$ac_save_c_werror_flag
5702 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5703 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5704 if test "$ac_test_CFLAGS" = set; then
5705 CFLAGS=$ac_save_CFLAGS
5706 elif test $ac_cv_prog_cc_g = yes; then
5707 if test "$GCC" = yes; then
5713 if test "$GCC" = yes; then
5719 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5720 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5721 if test "${ac_cv_prog_cc_c89+set}" = set; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 ac_cv_prog_cc_c89=no
5726 cat >conftest.$ac_ext <<_ACEOF
5729 cat confdefs.h >>conftest.$ac_ext
5730 cat >>conftest.$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5734 #include <sys/types.h>
5735 #include <sys/stat.h>
5736 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5737 struct buf { int x; };
5738 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5739 static char *e (p, i)
5745 static char *f (char * (*g) (char **, int), char **p, ...)
5750 s = g (p, va_arg (v,int));
5755 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5756 function prototypes and stuff, but not '\xHH' hex character constants.
5757 These don't provoke an error unfortunately, instead are silently treated
5758 as 'x'. The following induces an error, until -std is added to get
5759 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5760 array size at least. It's necessary to write '\x00'==0 to get something
5761 that's true only with -std. */
5762 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5764 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5765 inside strings and character constants. */
5767 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5769 int test (int i, double x);
5770 struct s1 {int (*f) (int a);};
5771 struct s2 {int (*f) (double a);};
5772 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5778 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5784 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5786 CC="$ac_save_CC $ac_arg"
5787 rm -f conftest.$ac_objext
5788 if { (ac_try="$ac_compile"
5790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5791 *) ac_try_echo=$ac_try;;
5793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5794 (eval "$ac_compile") 2>conftest.er1
5796 grep -v '^ *+' conftest.er1 >conftest.err
5798 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } && {
5801 test -z "$ac_c_werror_flag" ||
5802 test ! -s conftest.err
5803 } && test -s conftest.$ac_objext; then
5804 ac_cv_prog_cc_c89=$ac_arg
5806 echo "$as_me: failed program was:" >&5
5807 sed 's/^/| /' conftest.$ac_ext >&5
5812 rm -f core conftest.err conftest.$ac_objext
5813 test "x$ac_cv_prog_cc_c89" != "xno" && break
5815 rm -f conftest.$ac_ext
5820 case "x$ac_cv_prog_cc_c89" in
5822 { echo "$as_me:$LINENO: result: none needed" >&5
5823 echo "${ECHO_T}none needed" >&6; } ;;
5825 { echo "$as_me:$LINENO: result: unsupported" >&5
5826 echo "${ECHO_T}unsupported" >&6; } ;;
5828 CC="$CC $ac_cv_prog_cc_c89"
5829 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5830 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5835 ac_cpp='$CPP $CPPFLAGS'
5836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5840 depcc="$CC" am_compiler_list=
5842 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5843 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5844 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5848 # We make a subdir and do the tests there. Otherwise we can end up
5849 # making bogus files that we don't know about and never remove. For
5850 # instance it was reported that on HP-UX the gcc test will end up
5851 # making a dummy file named `D' -- because `-MD' means `put the output
5854 # Copy depcomp to subdir because otherwise we won't find it if we're
5855 # using a relative directory.
5856 cp "$am_depcomp" conftest.dir
5858 # We will build objects and dependencies in a subdirectory because
5859 # it helps to detect inapplicable dependency modes. For instance
5860 # both Tru64's cc and ICC support -MD to output dependencies as a
5861 # side effect of compilation, but ICC will put the dependencies in
5862 # the current directory while Tru64 will put them in the object
5866 am_cv_CC_dependencies_compiler_type=none
5867 if test "$am_compiler_list" = ""; then
5868 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5870 for depmode in $am_compiler_list; do
5871 # Setup a source with many dependencies, because some compilers
5872 # like to wrap large dependency lists on column 80 (with \), and
5873 # we should not choose a depcomp mode which is confused by this.
5875 # We need to recreate these files for each test, as the compiler may
5876 # overwrite some of them when testing with obscure command lines.
5877 # This happens at least with the AIX C compiler.
5879 for i in 1 2 3 4 5 6; do
5880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5881 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5882 # Solaris 8's {/usr,}/bin/sh.
5883 touch sub/conftst$i.h
5885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5889 # after this tag, mechanisms are not by side-effect, so they'll
5890 # only be used when explicitly requested
5891 if test "x$enable_dependency_tracking" = xyes; then
5899 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5900 # mode. It turns out that the SunPro C++ compiler does not properly
5901 # handle `-M -o', and we need to detect this.
5902 if depmode=$depmode \
5903 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5904 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5905 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5906 >/dev/null 2>conftest.err &&
5907 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5908 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5909 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5910 # icc doesn't choke on unknown options, it will just issue warnings
5911 # or remarks (even with -Werror). So we grep stderr for any message
5912 # that says an option was ignored or not supported.
5913 # When given -MP, icc 7.0 and 7.1 complain thusly:
5914 # icc: Command line warning: ignoring option '-M'; no argument required
5915 # The diagnosis changed in icc 8.0:
5916 # icc: Command line remark: option '-MP' not supported
5917 if (grep 'ignoring option' conftest.err ||
5918 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5919 am_cv_CC_dependencies_compiler_type=$depmode
5928 am_cv_CC_dependencies_compiler_type=none
5932 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5933 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5934 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5939 test "x$enable_dependency_tracking" != xno \
5940 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5942 am__fastdepCC_FALSE='#'
5944 am__fastdepCC_TRUE='#'
5945 am__fastdepCC_FALSE=
5950 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
5953 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5954 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5955 if test "${ac_cv_path_GREP+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 # Extract the first word of "grep ggrep" to use in msg output
5959 if test -z "$GREP"; then
5960 set dummy grep ggrep; ac_prog_name=$2
5961 if test "${ac_cv_path_GREP+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 ac_path_GREP_found=false
5965 # Loop through the user's path and test for each of PROGNAME-LIST
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5970 test -z "$as_dir" && as_dir=.
5971 for ac_prog in grep ggrep; do
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5974 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5975 # Check for GNU ac_path_GREP and select it if it is found.
5976 # Check for GNU $ac_path_GREP
5977 case `"$ac_path_GREP" --version 2>&1` in
5979 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5982 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5985 cat "conftest.in" "conftest.in" >"conftest.tmp"
5986 mv "conftest.tmp" "conftest.in"
5987 cp "conftest.in" "conftest.nl"
5988 echo 'GREP' >> "conftest.nl"
5989 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5991 ac_count=`expr $ac_count + 1`
5992 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5993 # Best one so far, save it but keep looking for a better one
5994 ac_cv_path_GREP="$ac_path_GREP"
5995 ac_path_GREP_max=$ac_count
5997 # 10*(2^10) chars as input seems more than enough
5998 test $ac_count -gt 10 && break
6000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6004 $ac_path_GREP_found && break 3
6014 GREP="$ac_cv_path_GREP"
6015 if test -z "$GREP"; then
6016 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6017 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6018 { (exit 1); exit 1; }; }
6022 ac_cv_path_GREP=$GREP
6027 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6028 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6029 GREP="$ac_cv_path_GREP"
6032 { echo "$as_me:$LINENO: checking for egrep" >&5
6033 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6034 if test "${ac_cv_path_EGREP+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6038 then ac_cv_path_EGREP="$GREP -E"
6040 # Extract the first word of "egrep" to use in msg output
6041 if test -z "$EGREP"; then
6042 set dummy egrep; ac_prog_name=$2
6043 if test "${ac_cv_path_EGREP+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 ac_path_EGREP_found=false
6047 # Loop through the user's path and test for each of PROGNAME-LIST
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6052 test -z "$as_dir" && as_dir=.
6053 for ac_prog in egrep; do
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6056 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6057 # Check for GNU ac_path_EGREP and select it if it is found.
6058 # Check for GNU $ac_path_EGREP
6059 case `"$ac_path_EGREP" --version 2>&1` in
6061 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6064 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6067 cat "conftest.in" "conftest.in" >"conftest.tmp"
6068 mv "conftest.tmp" "conftest.in"
6069 cp "conftest.in" "conftest.nl"
6070 echo 'EGREP' >> "conftest.nl"
6071 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6073 ac_count=`expr $ac_count + 1`
6074 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6075 # Best one so far, save it but keep looking for a better one
6076 ac_cv_path_EGREP="$ac_path_EGREP"
6077 ac_path_EGREP_max=$ac_count
6079 # 10*(2^10) chars as input seems more than enough
6080 test $ac_count -gt 10 && break
6082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6086 $ac_path_EGREP_found && break 3
6096 EGREP="$ac_cv_path_EGREP"
6097 if test -z "$EGREP"; then
6098 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6099 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6100 { (exit 1); exit 1; }; }
6104 ac_cv_path_EGREP=$EGREP
6110 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6111 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6112 EGREP="$ac_cv_path_EGREP"
6115 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6116 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6117 if test "${ac_cv_header_stdc+set}" = set; then
6118 echo $ECHO_N "(cached) $ECHO_C" >&6
6120 cat >conftest.$ac_ext <<_ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6139 rm -f conftest.$ac_objext
6140 if { (ac_try="$ac_compile"
6142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6143 *) ac_try_echo=$ac_try;;
6145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146 (eval "$ac_compile") 2>conftest.er1
6148 grep -v '^ *+' conftest.er1 >conftest.err
6150 cat conftest.err >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); } && {
6153 test -z "$ac_c_werror_flag" ||
6154 test ! -s conftest.err
6155 } && test -s conftest.$ac_objext; then
6156 ac_cv_header_stdc=yes
6158 echo "$as_me: failed program was:" >&5
6159 sed 's/^/| /' conftest.$ac_ext >&5
6161 ac_cv_header_stdc=no
6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6166 if test $ac_cv_header_stdc = yes; then
6167 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6168 cat >conftest.$ac_ext <<_ACEOF
6171 cat confdefs.h >>conftest.$ac_ext
6172 cat >>conftest.$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6178 $EGREP "memchr" >/dev/null 2>&1; then
6181 ac_cv_header_stdc=no
6187 if test $ac_cv_header_stdc = yes; then
6188 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6189 cat >conftest.$ac_ext <<_ACEOF
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6199 $EGREP "free" >/dev/null 2>&1; then
6202 ac_cv_header_stdc=no
6208 if test $ac_cv_header_stdc = yes; then
6209 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6210 if test "$cross_compiling" = yes; then
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6221 #if ((' ' & 0x0FF) == 0x020)
6222 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6223 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6225 # define ISLOWER(c) \
6226 (('a' <= (c) && (c) <= 'i') \
6227 || ('j' <= (c) && (c) <= 'r') \
6228 || ('s' <= (c) && (c) <= 'z'))
6229 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6232 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6237 for (i = 0; i < 256; i++)
6238 if (XOR (islower (i), ISLOWER (i))
6239 || toupper (i) != TOUPPER (i))
6244 rm -f conftest$ac_exeext
6245 if { (ac_try="$ac_link"
6247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6248 *) ac_try_echo=$ac_try;;
6250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6251 (eval "$ac_link") 2>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6255 { (case "(($ac_try" in
6256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6257 *) ac_try_echo=$ac_try;;
6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6260 (eval "$ac_try") 2>&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }; then
6266 echo "$as_me: program exited with status $ac_status" >&5
6267 echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6271 ac_cv_header_stdc=no
6273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6279 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6280 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6281 if test $ac_cv_header_stdc = yes; then
6283 cat >>confdefs.h <<\_ACEOF
6284 @%:@define STDC_HEADERS 1
6289 # Find a good install program. We prefer a C program (faster),
6290 # so one script is as good as another. But avoid the broken or
6291 # incompatible versions:
6292 # SysV /etc/install, /usr/sbin/install
6293 # SunOS /usr/etc/install
6294 # IRIX /sbin/install
6296 # AmigaOS /C/install, which installs bootblocks on floppy discs
6297 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6298 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6299 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6300 # OS/2's system install, which has a completely different semantic
6301 # ./install, which can be erroneously created by make from ./install.sh.
6302 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6303 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6304 if test -z "$INSTALL"; then
6305 if test "${ac_cv_path_install+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir=.
6313 # Account for people who put trailing slashes in PATH elements.
6315 ./ | .// | /cC/* | \
6316 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6317 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6320 # OSF1 and SCO ODT 3.0 have their own names for install.
6321 # Don't use installbsd from OSF since it installs stuff as root
6323 for ac_prog in ginstall scoinst install; do
6324 for ac_exec_ext in '' $ac_executable_extensions; do
6325 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6326 if test $ac_prog = install &&
6327 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6328 # AIX install. It has an incompatible calling convention.
6330 elif test $ac_prog = install &&
6331 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6332 # program-specific install script used by HP pwplus--don't use.
6335 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6348 if test "${ac_cv_path_install+set}" = set; then
6349 INSTALL=$ac_cv_path_install
6351 # As a last resort, use the slow shell script. Don't cache a
6352 # value for INSTALL within a source directory, because that will
6353 # break other packages using the cache if that directory is
6354 # removed, or if the value is a relative name.
6355 INSTALL=$ac_install_sh
6358 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6359 echo "${ECHO_T}$INSTALL" >&6; }
6361 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6362 # It thinks the first close brace ends the variable substitution.
6363 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6365 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6367 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6369 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6370 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6372 if test "$LN_S" = "ln -s"; then
6373 { echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6; }
6376 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6377 echo "${ECHO_T}no, using $LN_S" >&6; }
6380 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6381 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
6382 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6383 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 cat >conftest.make <<\_ACEOF
6389 @echo '@@@%%%=$(MAKE)=@@@%%%'
6391 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6392 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6394 eval ac_cv_prog_make_${ac_make}_set=yes;;
6396 eval ac_cv_prog_make_${ac_make}_set=no;;
6400 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6401 { echo "$as_me:$LINENO: result: yes" >&5
6402 echo "${ECHO_T}yes" >&6; }
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6407 SET_MAKE="MAKE=${MAKE-make}"
6410 # Check whether --enable-fast-install was given.
6411 if test "${enable_fast_install+set}" = set; then
6412 enableval=$enable_fast_install; p=${PACKAGE-default}
6414 yes) enable_fast_install=yes ;;
6415 no) enable_fast_install=no ;;
6417 enable_fast_install=no
6418 # Look at the argument we got. We use all the common list separators.
6419 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6420 for pkg in $enableval; do
6422 if test "X$pkg" = "X$p"; then
6423 enable_fast_install=yes
6430 enable_fast_install=yes
6434 # Make sure we can run config.sub.
6435 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6436 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
6437 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
6438 { (exit 1); exit 1; }; }
6440 { echo "$as_me:$LINENO: checking build system type" >&5
6441 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
6442 if test "${ac_cv_build+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 ac_build_alias=$build_alias
6446 test "x$ac_build_alias" = x &&
6447 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6448 test "x$ac_build_alias" = x &&
6449 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6450 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6451 { (exit 1); exit 1; }; }
6452 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
6454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
6455 { (exit 1); exit 1; }; }
6458 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6459 echo "${ECHO_T}$ac_cv_build" >&6; }
6460 case $ac_cv_build in
6462 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
6463 echo "$as_me: error: invalid value of canonical build" >&2;}
6464 { (exit 1); exit 1; }; };;
6467 ac_save_IFS=$IFS; IFS='-'
6473 # Remember, the first character of IFS is used to create $*,
6474 # except with old shells:
6477 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6480 { echo "$as_me:$LINENO: checking host system type" >&5
6481 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
6482 if test "${ac_cv_host+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 if test "x$host_alias" = x; then
6486 ac_cv_host=$ac_cv_build
6488 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6489 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
6490 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
6491 { (exit 1); exit 1; }; }
6495 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
6496 echo "${ECHO_T}$ac_cv_host" >&6; }
6499 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
6500 echo "$as_me: error: invalid value of canonical host" >&2;}
6501 { (exit 1); exit 1; }; };;
6504 ac_save_IFS=$IFS; IFS='-'
6510 # Remember, the first character of IFS is used to create $*,
6511 # except with old shells:
6514 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6517 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
6518 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
6519 if test "${lt_cv_path_SED+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 # Loop through the user's path and test for sed and gsed.
6523 # Then use that list of sed's as ones to test for truncation.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for lt_ac_prog in sed gsed; do
6530 for ac_exec_ext in '' $ac_executable_extensions; do
6531 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
6532 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
6540 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
6541 # along with /bin/sed that truncates output.
6542 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
6543 test ! -f $lt_ac_sed && continue
6544 cat /dev/null > conftest.in
6546 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
6547 # Check for GNU sed and select it if it is found.
6548 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
6549 lt_cv_path_SED=$lt_ac_sed
6553 cat conftest.in conftest.in >conftest.tmp
6554 mv conftest.tmp conftest.in
6555 cp conftest.in conftest.nl
6557 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
6558 cmp -s conftest.out conftest.nl || break
6559 # 10000 chars as input seems more than enough
6560 test $lt_ac_count -gt 10 && break
6561 lt_ac_count=`expr $lt_ac_count + 1`
6562 if test $lt_ac_count -gt $lt_ac_max; then
6563 lt_ac_max=$lt_ac_count
6564 lt_cv_path_SED=$lt_ac_sed
6573 { echo "$as_me:$LINENO: result: $SED" >&5
6574 echo "${ECHO_T}$SED" >&6; }
6577 # Check whether --with-gnu-ld was given.
6578 if test "${with_gnu_ld+set}" = set; then
6579 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6585 if test "$GCC" = yes; then
6586 # Check if gcc -print-prog-name=ld gives a path.
6587 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6588 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6591 # gcc leaves a trailing carriage return which upsets mingw
6592 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6594 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6597 # Accept absolute paths.
6599 re_direlt='/[^/][^/]*/\.\./'
6600 # Canonicalize the pathname of ld
6601 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
6602 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6603 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6605 test -z "$LD" && LD="$ac_prog"
6608 # If it fails, then pretend we aren't using GCC.
6612 # If it is relative, then search for the first ld in PATH.
6616 elif test "$with_gnu_ld" = yes; then
6617 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6618 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6620 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6621 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6623 if test "${lt_cv_path_LD+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 if test -z "$LD"; then
6627 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6628 for ac_dir in $PATH; do
6630 test -z "$ac_dir" && ac_dir=.
6631 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6632 lt_cv_path_LD="$ac_dir/$ac_prog"
6633 # Check to see if the program is GNU ld. I'd rather use --version,
6634 # but apparently some variants of GNU ld only accept -v.
6635 # Break only if it was the GNU/non-GNU ld that we prefer.
6636 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6637 *GNU* | *'with BFD'*)
6638 test "$with_gnu_ld" != no && break
6641 test "$with_gnu_ld" != yes && break
6648 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6653 if test -n "$LD"; then
6654 { echo "$as_me:$LINENO: result: $LD" >&5
6655 echo "${ECHO_T}$LD" >&6; }
6657 { echo "$as_me:$LINENO: result: no" >&5
6658 echo "${ECHO_T}no" >&6; }
6660 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6661 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6662 { (exit 1); exit 1; }; }
6663 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6664 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6665 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6666 echo $ECHO_N "(cached) $ECHO_C" >&6
6668 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6669 case `$LD -v 2>&1 </dev/null` in
6670 *GNU* | *'with BFD'*)
6671 lt_cv_prog_gnu_ld=yes
6674 lt_cv_prog_gnu_ld=no
6678 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6679 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6680 with_gnu_ld=$lt_cv_prog_gnu_ld
6683 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6684 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6685 if test "${lt_cv_ld_reload_flag+set}" = set; then
6686 echo $ECHO_N "(cached) $ECHO_C" >&6
6688 lt_cv_ld_reload_flag='-r'
6690 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6691 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6692 reload_flag=$lt_cv_ld_reload_flag
6693 case $reload_flag in
6695 *) reload_flag=" $reload_flag" ;;
6697 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6700 if test "$GCC" = yes; then
6701 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6703 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6708 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
6709 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
6710 if test "${lt_cv_path_NM+set}" = set; then
6711 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 if test -n "$NM"; then
6714 # Let the user override the test.
6717 lt_nm_to_check="${ac_tool_prefix}nm"
6718 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6719 lt_nm_to_check="$lt_nm_to_check nm"
6721 for lt_tmp_nm in $lt_nm_to_check; do
6722 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6723 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6725 test -z "$ac_dir" && ac_dir=.
6726 tmp_nm="$ac_dir/$lt_tmp_nm"
6727 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6728 # Check to see if the nm accepts a BSD-compat flag.
6729 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6730 # nm: unknown option "B" ignored
6731 # Tru64's nm complains that /dev/null is an invalid object file
6732 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6733 */dev/null* | *'Invalid file or object type'*)
6734 lt_cv_path_NM="$tmp_nm -B"
6738 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6740 lt_cv_path_NM="$tmp_nm -p"
6744 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6745 continue # so that we can try to find one that supports BSD flags
6754 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
6757 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6758 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6761 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6762 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6763 if test "${lt_cv_deplibs_check_method+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 lt_cv_file_magic_cmd='$MAGIC_CMD'
6767 lt_cv_file_magic_test_file=
6768 lt_cv_deplibs_check_method='unknown'
6769 # Need to set the preceding variable on all platforms that support
6770 # interlibrary dependencies.
6771 # 'none' -- dependencies not supported.
6772 # `unknown' -- same as none, but documents that we really don't know.
6773 # 'pass_all' -- all dependencies passed with no checks.
6774 # 'test_compile' -- check by making test program.
6775 # 'file_magic [[regex]]' -- check by looking for files in library path
6776 # which responds to the $file_magic_cmd with a given extended regex.
6777 # If you have `file' or equivalent on your system and you're not sure
6778 # whether `pass_all' will *always* work, you probably want this one.
6782 lt_cv_deplibs_check_method=pass_all
6786 lt_cv_deplibs_check_method=pass_all
6790 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6791 lt_cv_file_magic_cmd='/usr/bin/file -L'
6792 lt_cv_file_magic_test_file=/shlib/libc.so
6796 # func_win32_libid is a shell function defined in ltmain.sh
6797 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6798 lt_cv_file_magic_cmd='func_win32_libid'
6802 # Base MSYS/MinGW do not provide the 'file' command needed by
6803 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6804 # unless we find 'file', for example because we are cross-compiling.
6805 if ( file / ) >/dev/null 2>&1; then
6806 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6807 lt_cv_file_magic_cmd='func_win32_libid'
6809 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6810 lt_cv_file_magic_cmd='$OBJDUMP -f'
6814 darwin* | rhapsody*)
6815 lt_cv_deplibs_check_method=pass_all
6818 freebsd* | dragonfly*)
6819 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6822 # Not sure whether the presence of OpenBSD here was a mistake.
6823 # Let's accept both of them until this is cleared up.
6824 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6825 lt_cv_file_magic_cmd=/usr/bin/file
6826 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6830 lt_cv_deplibs_check_method=pass_all
6835 lt_cv_deplibs_check_method=pass_all
6838 hpux10.20* | hpux11*)
6839 lt_cv_file_magic_cmd=/usr/bin/file
6842 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6843 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6846 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]'
6847 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6850 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6851 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6857 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6858 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6861 irix5* | irix6* | nonstopux*)
6863 *-32|*"-32 ") libmagic=32-bit;;
6864 *-n32|*"-n32 ") libmagic=N32;;
6865 *-64|*"-64 ") libmagic=64-bit;;
6866 *) libmagic=never-match;;
6868 lt_cv_deplibs_check_method=pass_all
6871 # This must be Linux ELF.
6872 linux* | k*bsd*-gnu)
6873 lt_cv_deplibs_check_method=pass_all
6877 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
6878 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6880 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6885 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6886 lt_cv_file_magic_cmd=/usr/bin/file
6887 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6891 lt_cv_deplibs_check_method=unknown
6895 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6896 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6898 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6902 osf3* | osf4* | osf5*)
6903 lt_cv_deplibs_check_method=pass_all
6907 lt_cv_deplibs_check_method=pass_all
6911 lt_cv_deplibs_check_method=pass_all
6915 case $host_vendor in
6917 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]'
6918 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6921 lt_cv_deplibs_check_method=pass_all
6924 lt_cv_file_magic_cmd='/bin/file'
6925 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6928 lt_cv_file_magic_cmd='/bin/file'
6929 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6930 lt_cv_file_magic_test_file=/lib/libc.so
6933 lt_cv_deplibs_check_method=pass_all
6936 lt_cv_deplibs_check_method=pass_all
6941 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6942 lt_cv_deplibs_check_method=pass_all
6947 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6948 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6949 file_magic_cmd=$lt_cv_file_magic_cmd
6950 deplibs_check_method=$lt_cv_deplibs_check_method
6951 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6956 # If no C compiler was specified, use CC.
6959 # If no C compiler flags were specified, use CFLAGS.
6960 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6962 # Allow CC to be a program name with arguments.
6965 # Check whether --enable-libtool-lock was given.
6966 if test "${enable_libtool_lock+set}" = set; then
6967 enableval=$enable_libtool_lock;
6970 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6972 # Some flags need to be propagated to the compiler or linker for good
6976 # Find out which ABI we are using.
6977 echo 'int i;' > conftest.$ac_ext
6978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6979 (eval $ac_compile) 2>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; then
6983 case `/usr/bin/file conftest.$ac_objext` in
6995 # Find out which ABI we are using.
6996 echo '#line __oline__ "configure"' > conftest.$ac_ext
6997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6998 (eval $ac_compile) 2>&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); }; then
7002 if test "$lt_cv_prog_gnu_ld" = yes; then
7003 case `/usr/bin/file conftest.$ac_objext` in
7005 LD="${LD-ld} -melf32bsmip"
7008 LD="${LD-ld} -melf32bmipn32"
7011 LD="${LD-ld} -melf64bmip"
7015 case `/usr/bin/file conftest.$ac_objext` in
7031 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7032 s390*-*linux*|sparc*-*linux*)
7033 # Find out which ABI we are using.
7034 echo 'int i;' > conftest.$ac_ext
7035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7036 (eval $ac_compile) 2>&5
7038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); }; then
7040 case `/usr/bin/file conftest.o` in
7043 x86_64-*kfreebsd*-gnu)
7044 LD="${LD-ld} -m elf_i386_fbsd"
7047 LD="${LD-ld} -m elf_i386"
7049 ppc64-*linux*|powerpc64-*linux*)
7050 LD="${LD-ld} -m elf32ppclinux"
7053 LD="${LD-ld} -m elf_s390"
7056 LD="${LD-ld} -m elf32_sparc"
7062 x86_64-*kfreebsd*-gnu)
7063 LD="${LD-ld} -m elf_x86_64_fbsd"
7066 LD="${LD-ld} -m elf_x86_64"
7068 ppc*-*linux*|powerpc*-*linux*)
7069 LD="${LD-ld} -m elf64ppc"
7072 LD="${LD-ld} -m elf64_s390"
7075 LD="${LD-ld} -m elf64_sparc"
7085 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7086 SAVE_CFLAGS="$CFLAGS"
7087 CFLAGS="$CFLAGS -belf"
7088 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7089 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7090 if test "${lt_cv_cc_needs_belf+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 ac_cpp='$CPP $CPPFLAGS'
7095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7099 cat >conftest.$ac_ext <<_ACEOF
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7114 rm -f conftest.$ac_objext conftest$ac_exeext
7115 if { (ac_try="$ac_link"
7117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7118 *) ac_try_echo=$ac_try;;
7120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7121 (eval "$ac_link") 2>conftest.er1
7123 grep -v '^ *+' conftest.er1 >conftest.err
7125 cat conftest.err >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); } && {
7128 test -z "$ac_c_werror_flag" ||
7129 test ! -s conftest.err
7130 } && test -s conftest$ac_exeext &&
7131 $as_test_x conftest$ac_exeext; then
7132 lt_cv_cc_needs_belf=yes
7134 echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.$ac_ext >&5
7137 lt_cv_cc_needs_belf=no
7140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7141 conftest$ac_exeext conftest.$ac_ext
7143 ac_cpp='$CPP $CPPFLAGS'
7144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7149 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7150 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7151 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7152 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7153 CFLAGS="$SAVE_CFLAGS"
7157 # Find out which ABI we are using.
7158 echo 'int i;' > conftest.$ac_ext
7159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7160 (eval $ac_compile) 2>&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; then
7164 case `/usr/bin/file conftest.o` in
7166 case $lt_cv_prog_gnu_ld in
7167 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7169 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7183 need_locks="$enable_libtool_lock"
7186 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7196 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7197 inttypes.h stdint.h unistd.h
7199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7203 echo $ECHO_N "(cached) $ECHO_C" >&6
7205 cat >conftest.$ac_ext <<_ACEOF
7208 cat confdefs.h >>conftest.$ac_ext
7209 cat >>conftest.$ac_ext <<_ACEOF
7210 /* end confdefs.h. */
7211 $ac_includes_default
7213 @%:@include <$ac_header>
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
7218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7219 *) ac_try_echo=$ac_try;;
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_compile") 2>conftest.er1
7224 grep -v '^ *+' conftest.er1 >conftest.err
7226 cat conftest.err >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } && {
7229 test -z "$ac_c_werror_flag" ||
7230 test ! -s conftest.err
7231 } && test -s conftest.$ac_objext; then
7232 eval "$as_ac_Header=yes"
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.$ac_ext >&5
7237 eval "$as_ac_Header=no"
7240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242 ac_res=`eval echo '${'$as_ac_Header'}'`
7243 { echo "$as_me:$LINENO: result: $ac_res" >&5
7244 echo "${ECHO_T}$ac_res" >&6; }
7245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7246 cat >>confdefs.h <<_ACEOF
7247 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7256 for ac_header in dlfcn.h
7258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7259 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7260 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7262 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7263 echo $ECHO_N "(cached) $ECHO_C" >&6
7265 ac_res=`eval echo '${'$as_ac_Header'}'`
7266 { echo "$as_me:$LINENO: result: $ac_res" >&5
7267 echo "${ECHO_T}$ac_res" >&6; }
7269 # Is the header compilable?
7270 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7272 cat >conftest.$ac_ext <<_ACEOF
7275 cat confdefs.h >>conftest.$ac_ext
7276 cat >>conftest.$ac_ext <<_ACEOF
7277 /* end confdefs.h. */
7278 $ac_includes_default
7279 @%:@include <$ac_header>
7281 rm -f conftest.$ac_objext
7282 if { (ac_try="$ac_compile"
7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7285 *) ac_try_echo=$ac_try;;
7287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7288 (eval "$ac_compile") 2>conftest.er1
7290 grep -v '^ *+' conftest.er1 >conftest.err
7292 cat conftest.err >&5
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); } && {
7295 test -z "$ac_c_werror_flag" ||
7296 test ! -s conftest.err
7297 } && test -s conftest.$ac_objext; then
7298 ac_header_compiler=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.$ac_ext >&5
7303 ac_header_compiler=no
7306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7307 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7308 echo "${ECHO_T}$ac_header_compiler" >&6; }
7310 # Is the header present?
7311 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7312 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7313 cat >conftest.$ac_ext <<_ACEOF
7316 cat confdefs.h >>conftest.$ac_ext
7317 cat >>conftest.$ac_ext <<_ACEOF
7318 /* end confdefs.h. */
7319 @%:@include <$ac_header>
7321 if { (ac_try="$ac_cpp conftest.$ac_ext"
7323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7324 *) ac_try_echo=$ac_try;;
7326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7327 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7329 grep -v '^ *+' conftest.er1 >conftest.err
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev/null && {
7334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7335 test ! -s conftest.err
7337 ac_header_preproc=yes
7339 echo "$as_me: failed program was:" >&5
7340 sed 's/^/| /' conftest.$ac_ext >&5
7342 ac_header_preproc=no
7345 rm -f conftest.err conftest.$ac_ext
7346 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7347 echo "${ECHO_T}$ac_header_preproc" >&6; }
7349 # So? What about this header?
7350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7356 ac_header_preproc=yes
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 eval "$as_ac_Header=\$ac_header_preproc"
7381 ac_res=`eval echo '${'$as_ac_Header'}'`
7382 { echo "$as_me:$LINENO: result: $ac_res" >&5
7383 echo "${ECHO_T}$ac_res" >&6; }
7386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7387 cat >>confdefs.h <<_ACEOF
7388 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7397 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7398 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7399 (test "X$CXX" != "Xg++"))) ; then
7401 ac_cpp='$CXXCPP $CPPFLAGS'
7402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7405 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7406 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7407 if test -z "$CXXCPP"; then
7408 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 # Double quotes because CXXCPP needs to be expanded
7412 for CXXCPP in "$CXX -E" "/lib/cpp"
7415 for ac_cxx_preproc_warn_flag in '' yes
7417 # Use a header file that comes with gcc, so configuring glibc
7418 # with a fresh cross-compiler works.
7419 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7420 # <limits.h> exists even on freestanding compilers.
7421 # On the NeXT, cc -E runs the code through the compiler's parser,
7422 # not just through cpp. "Syntax error" is here to catch this case.
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7430 @%:@ include <limits.h>
7432 @%:@ include <assert.h>
7436 if { (ac_try="$ac_cpp conftest.$ac_ext"
7438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7439 *) ac_try_echo=$ac_try;;
7441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7444 grep -v '^ *+' conftest.er1 >conftest.err
7446 cat conftest.err >&5
7447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 (exit $ac_status); } >/dev/null && {
7449 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7450 test ! -s conftest.err
7454 echo "$as_me: failed program was:" >&5
7455 sed 's/^/| /' conftest.$ac_ext >&5
7457 # Broken: fails on valid input.
7461 rm -f conftest.err conftest.$ac_ext
7463 # OK, works on sane cases. Now check whether nonexistent headers
7464 # can be detected and how.
7465 cat >conftest.$ac_ext <<_ACEOF
7468 cat confdefs.h >>conftest.$ac_ext
7469 cat >>conftest.$ac_ext <<_ACEOF
7470 /* end confdefs.h. */
7471 @%:@include <ac_nonexistent.h>
7473 if { (ac_try="$ac_cpp conftest.$ac_ext"
7475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7476 *) ac_try_echo=$ac_try;;
7478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7481 grep -v '^ *+' conftest.er1 >conftest.err
7483 cat conftest.err >&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } >/dev/null && {
7486 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7487 test ! -s conftest.err
7489 # Broken: success on invalid input.
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7495 # Passes both tests.
7500 rm -f conftest.err conftest.$ac_ext
7503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7504 rm -f conftest.err conftest.$ac_ext
7505 if $ac_preproc_ok; then
7510 ac_cv_prog_CXXCPP=$CXXCPP
7513 CXXCPP=$ac_cv_prog_CXXCPP
7515 ac_cv_prog_CXXCPP=$CXXCPP
7517 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
7518 echo "${ECHO_T}$CXXCPP" >&6; }
7520 for ac_cxx_preproc_warn_flag in '' yes
7522 # Use a header file that comes with gcc, so configuring glibc
7523 # with a fresh cross-compiler works.
7524 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7525 # <limits.h> exists even on freestanding compilers.
7526 # On the NeXT, cc -E runs the code through the compiler's parser,
7527 # not just through cpp. "Syntax error" is here to catch this case.
7528 cat >conftest.$ac_ext <<_ACEOF
7531 cat confdefs.h >>conftest.$ac_ext
7532 cat >>conftest.$ac_ext <<_ACEOF
7533 /* end confdefs.h. */
7535 @%:@ include <limits.h>
7537 @%:@ include <assert.h>
7541 if { (ac_try="$ac_cpp conftest.$ac_ext"
7543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7544 *) ac_try_echo=$ac_try;;
7546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7549 grep -v '^ *+' conftest.er1 >conftest.err
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } >/dev/null && {
7554 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7555 test ! -s conftest.err
7559 echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 # Broken: fails on valid input.
7566 rm -f conftest.err conftest.$ac_ext
7568 # OK, works on sane cases. Now check whether nonexistent headers
7569 # can be detected and how.
7570 cat >conftest.$ac_ext <<_ACEOF
7573 cat confdefs.h >>conftest.$ac_ext
7574 cat >>conftest.$ac_ext <<_ACEOF
7575 /* end confdefs.h. */
7576 @%:@include <ac_nonexistent.h>
7578 if { (ac_try="$ac_cpp conftest.$ac_ext"
7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7581 *) ac_try_echo=$ac_try;;
7583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7584 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7586 grep -v '^ *+' conftest.er1 >conftest.err
7588 cat conftest.err >&5
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); } >/dev/null && {
7591 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7592 test ! -s conftest.err
7594 # Broken: success on invalid input.
7597 echo "$as_me: failed program was:" >&5
7598 sed 's/^/| /' conftest.$ac_ext >&5
7600 # Passes both tests.
7605 rm -f conftest.err conftest.$ac_ext
7608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7609 rm -f conftest.err conftest.$ac_ext
7610 if $ac_preproc_ok; then
7613 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7614 See \`config.log' for more details." >&5
7615 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
7616 See \`config.log' for more details." >&2;}
7617 { (exit 1); exit 1; }; }
7621 ac_cpp='$CXXCPP $CPPFLAGS'
7622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7630 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
7631 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7632 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7633 if test -n "$ac_tool_prefix"; then
7634 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7640 if test "${ac_cv_prog_F77+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 if test -n "$F77"; then
7644 ac_cv_prog_F77="$F77" # Let the user override the test.
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7664 if test -n "$F77"; then
7665 { echo "$as_me:$LINENO: result: $F77" >&5
7666 echo "${ECHO_T}$F77" >&6; }
7668 { echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6; }
7673 test -n "$F77" && break
7676 if test -z "$F77"; then
7678 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7680 # Extract the first word of "$ac_prog", so it can be a program name with args.
7681 set dummy $ac_prog; ac_word=$2
7682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7684 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6
7687 if test -n "$ac_ct_F77"; then
7688 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7697 ac_cv_prog_ac_ct_F77="$ac_prog"
7698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7707 ac_ct_F77=$ac_cv_prog_ac_ct_F77
7708 if test -n "$ac_ct_F77"; then
7709 { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7710 echo "${ECHO_T}$ac_ct_F77" >&6; }
7712 { echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6; }
7717 test -n "$ac_ct_F77" && break
7720 if test "x$ac_ct_F77" = x; then
7723 case $cross_compiling:$ac_tool_warned in
7725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7726 whose name does not start with the host triplet. If you think this
7727 configuration is useful to you, please write to autoconf@gnu.org." >&5
7728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7729 whose name does not start with the host triplet. If you think this
7730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7731 ac_tool_warned=yes ;;
7738 # Provide some information about the compiler.
7739 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7740 ac_compiler=`set X $ac_compile; echo $2`
7741 { (ac_try="$ac_compiler --version >&5"
7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7744 *) ac_try_echo=$ac_try;;
7746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 (eval "$ac_compiler --version >&5") 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); }
7751 { (ac_try="$ac_compiler -v >&5"
7753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_compiler -v >&5") 2>&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); }
7761 { (ac_try="$ac_compiler -V >&5"
7763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7764 *) ac_try_echo=$ac_try;;
7766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7767 (eval "$ac_compiler -V >&5") 2>&5
7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 (exit $ac_status); }
7773 # If we don't use `.F' as extension, the preprocessor is not run on the
7774 # input file. (Note that this only needs to work for GNU compilers.)
7777 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7778 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7779 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 cat >conftest.$ac_ext <<_ACEOF
7790 rm -f conftest.$ac_objext
7791 if { (ac_try="$ac_compile"
7793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7794 *) ac_try_echo=$ac_try;;
7796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7797 (eval "$ac_compile") 2>conftest.er1
7799 grep -v '^ *+' conftest.er1 >conftest.err
7801 cat conftest.err >&5
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); } && {
7804 test -z "$ac_f77_werror_flag" ||
7805 test ! -s conftest.err
7806 } && test -s conftest.$ac_objext; then
7809 echo "$as_me: failed program was:" >&5
7810 sed 's/^/| /' conftest.$ac_ext >&5
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7816 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7819 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7820 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7822 ac_test_FFLAGS=${FFLAGS+set}
7823 ac_save_FFLAGS=$FFLAGS
7825 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7826 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7827 if test "${ac_cv_prog_f77_g+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 cat >conftest.$ac_ext <<_ACEOF
7836 rm -f conftest.$ac_objext
7837 if { (ac_try="$ac_compile"
7839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7840 *) ac_try_echo=$ac_try;;
7842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7843 (eval "$ac_compile") 2>conftest.er1
7845 grep -v '^ *+' conftest.er1 >conftest.err
7847 cat conftest.err >&5
7848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); } && {
7850 test -z "$ac_f77_werror_flag" ||
7851 test ! -s conftest.err
7852 } && test -s conftest.$ac_objext; then
7853 ac_cv_prog_f77_g=yes
7855 echo "$as_me: failed program was:" >&5
7856 sed 's/^/| /' conftest.$ac_ext >&5
7861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7864 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7865 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7866 if test "$ac_test_FFLAGS" = set; then
7867 FFLAGS=$ac_save_FFLAGS
7868 elif test $ac_cv_prog_f77_g = yes; then
7869 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7875 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7882 G77=`test $ac_compiler_gnu = yes && echo yes`
7884 ac_cpp='$CPP $CPPFLAGS'
7885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7891 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7892 # find the maximum length of command line arguments
7893 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7894 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7895 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7896 echo $ECHO_N "(cached) $ECHO_C" >&6
7903 # On DJGPP, this test can blow up pretty badly due to problems in libc
7904 # (any single argument exceeding 2000 bytes causes a buffer overrun
7905 # during glob expansion). Even if it were fixed, the result of this
7906 # check would be larger than it should be.
7907 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7911 # Under GNU Hurd, this test is not required because there is
7912 # no limit to the length of command line arguments.
7913 # Libtool will interpret -1 as no limit whatsoever
7914 lt_cv_sys_max_cmd_len=-1;
7918 # On Win9x/ME, this test blows up -- it succeeds, but takes
7919 # about 5 minutes as the teststring grows exponentially.
7920 # Worse, since 9x/ME are not pre-emptively multitasking,
7921 # you end up with a "frozen" computer, even though with patience
7922 # the test eventually succeeds (with a max line length of 256k).
7923 # Instead, let's just punt: use the minimum linelength reported by
7924 # all of the supported platforms: 8192 (on NT/2K/XP).
7925 lt_cv_sys_max_cmd_len=8192;
7929 # On AmigaOS with pdksh, this test takes hours, literally.
7930 # So we just punt and use a minimum line length of 8192.
7931 lt_cv_sys_max_cmd_len=8192;
7934 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7935 # This has been around since 386BSD, at least. Likely further.
7936 if test -x /sbin/sysctl; then
7937 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7938 elif test -x /usr/sbin/sysctl; then
7939 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7941 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7943 # And add a safety zone
7944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7949 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7950 lt_cv_sys_max_cmd_len=196608
7954 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7955 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7956 # nice to cause kernel panics so lets avoid the loop below.
7957 # First set a reasonable default.
7958 lt_cv_sys_max_cmd_len=16384
7960 if test -x /sbin/sysconfig; then
7961 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7962 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7967 lt_cv_sys_max_cmd_len=102400
7969 sysv5* | sco5v6* | sysv4.2uw2*)
7970 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7971 if test -n "$kargmax"; then
7972 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7974 lt_cv_sys_max_cmd_len=32768
7978 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7979 if test -n "$lt_cv_sys_max_cmd_len"; then
7980 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7981 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7983 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7984 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7985 = "XX$teststring") >/dev/null 2>&1 &&
7986 new_result=`expr "X$teststring" : ".*" 2>&1` &&
7987 lt_cv_sys_max_cmd_len=$new_result &&
7988 test $i != 17 # 1/2 MB should be enough
7991 teststring=$teststring$teststring
7994 # Add a significant safety factor because C++ compilers can tack on massive
7995 # amounts of additional arguments before passing them to the linker.
7996 # It appears as though 1/2 is a usable value.
7997 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8004 if test -n $lt_cv_sys_max_cmd_len ; then
8005 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8006 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8008 { echo "$as_me:$LINENO: result: none" >&5
8009 echo "${ECHO_T}none" >&6; }
8016 # Check for command to grab the raw symbol name followed by C symbol from nm.
8017 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
8018 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
8019 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
8020 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 # These are sane defaults that work on at least a few old systems.
8024 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8026 # Character class describing NM global symbol codes.
8027 symcode='[BCDEGRST]'
8029 # Regexp to match symbols that can be accessed directly from C.
8030 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8032 # Transform an extracted symbol line into a proper C declaration
8033 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
8035 # Transform an extracted symbol line into symbol name and symbol address
8036 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8038 # Define system-specific variables.
8043 cygwin* | mingw* | pw32*)
8044 symcode='[ABCDGISTW]'
8046 hpux*) # Its linker distinguishes data from code symbols
8047 if test "$host_cpu" = ia64; then
8048 symcode='[ABCDEGRST]'
8050 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8051 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8053 linux* | k*bsd*-gnu)
8054 if test "$host_cpu" = ia64; then
8055 symcode='[ABCDGIRSTW]'
8056 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8057 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
8061 symcode='[BCDEGRST]'
8064 symcode='[BCDEGQRST]'
8075 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8083 # Handle CRLF in mingw tool chain
8087 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8091 # If we're using GNU nm, then use its standard symbol codes.
8092 case `$NM -V 2>&1` in
8093 *GNU* | *'with BFD'*)
8094 symcode='[ABCDGIRSTW]' ;;
8097 # Try without a prefix undercore, then with it.
8098 for ac_symprfx in "" "_"; do
8100 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8101 symxfrm="\\1 $ac_symprfx\\2 \\2"
8103 # Write the raw and C identifiers.
8104 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8106 # Check to see that the pipe works correctly.
8110 cat > conftest.$ac_ext <<EOF
8115 void nm_test_func(){}
8119 int main(){nm_test_var='a';nm_test_func();return(0);}
8122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8123 (eval $ac_compile) 2>&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; then
8127 # Now try to grab the symbols.
8129 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
8130 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); } && test -s "$nlist"; then
8134 # Try sorting and uniquifying the output.
8135 if sort "$nlist" | uniq > "$nlist"T; then
8136 mv -f "$nlist"T "$nlist"
8141 # Make sure that we snagged all the symbols we need.
8142 if grep ' nm_test_var$' "$nlist" >/dev/null; then
8143 if grep ' nm_test_func$' "$nlist" >/dev/null; then
8144 cat <<EOF > conftest.$ac_ext
8150 # Now generate the symbol file.
8151 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
8153 cat <<EOF >> conftest.$ac_ext
8154 #if defined (__STDC__) && __STDC__
8155 # define lt_ptr_t void *
8157 # define lt_ptr_t char *
8161 /* The mapping between symbol names and symbols. */
8166 lt_preloaded_symbols[] =
8169 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
8170 cat <<\EOF >> conftest.$ac_ext
8178 # Now try linking the two files.
8179 mv conftest.$ac_objext conftstm.$ac_objext
8180 lt_save_LIBS="$LIBS"
8181 lt_save_CFLAGS="$CFLAGS"
8182 LIBS="conftstm.$ac_objext"
8183 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8185 (eval $ac_link) 2>&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); } && test -s conftest${ac_exeext}; then
8191 LIBS="$lt_save_LIBS"
8192 CFLAGS="$lt_save_CFLAGS"
8194 echo "cannot find nm_test_func in $nlist" >&5
8197 echo "cannot find nm_test_var in $nlist" >&5
8200 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8203 echo "$progname: failed program was:" >&5
8204 cat conftest.$ac_ext >&5
8206 rm -rf conftest* conftst*
8208 # Do not use the global_symbol_pipe unless it works.
8209 if test "$pipe_works" = yes; then
8212 lt_cv_sys_global_symbol_pipe=
8218 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8219 lt_cv_sys_global_symbol_to_cdecl=
8221 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8222 { echo "$as_me:$LINENO: result: failed" >&5
8223 echo "${ECHO_T}failed" >&6; }
8225 { echo "$as_me:$LINENO: result: ok" >&5
8226 echo "${ECHO_T}ok" >&6; }
8229 { echo "$as_me:$LINENO: checking for objdir" >&5
8230 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
8231 if test "${lt_cv_objdir+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 rm -f .libs 2>/dev/null
8235 mkdir .libs 2>/dev/null
8236 if test -d .libs; then
8239 # MS-DOS does not allow filenames that begin with a dot.
8242 rmdir .libs 2>/dev/null
8244 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8245 echo "${ECHO_T}$lt_cv_objdir" >&6; }
8246 objdir=$lt_cv_objdir
8254 # AIX sometimes has problems with the GCC collect2 program. For some
8255 # reason, if we set the COLLECT_NAMES environment variable, the problems
8256 # vanish in a puff of smoke.
8257 if test "X${COLLECT_NAMES+set}" != Xset; then
8259 export COLLECT_NAMES
8264 # Sed substitution that helps us do robust quoting. It backslashifies
8265 # metacharacters that are still active within double-quoted strings.
8266 Xsed='sed -e 1s/^X//'
8267 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
8269 # Same as above, but do not quote variable references.
8270 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
8272 # Sed substitution to delay expansion of an escaped shell variable in a
8273 # double_quote_subst'ed string.
8274 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8276 # Sed substitution to avoid accidental globbing in evaled expressions
8277 no_glob_subst='s/\*/\\\*/g'
8283 default_ofile=libtool
8284 can_build_shared=yes
8286 # All known linkers require a `.a' archive for static linking (except MSVC,
8287 # which needs '.lib').
8289 ltmain="$ac_aux_dir/ltmain.sh"
8290 ofile="$default_ofile"
8291 with_gnu_ld="$lt_cv_prog_gnu_ld"
8293 if test -n "$ac_tool_prefix"; then
8294 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8295 set dummy ${ac_tool_prefix}ar; ac_word=$2
8296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8298 if test "${ac_cv_prog_AR+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 if test -n "$AR"; then
8302 ac_cv_prog_AR="$AR" # Let the user override the test.
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311 ac_cv_prog_AR="${ac_tool_prefix}ar"
8312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8322 if test -n "$AR"; then
8323 { echo "$as_me:$LINENO: result: $AR" >&5
8324 echo "${ECHO_T}$AR" >&6; }
8326 { echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6; }
8332 if test -z "$ac_cv_prog_AR"; then
8334 # Extract the first word of "ar", so it can be a program name with args.
8335 set dummy ar; ac_word=$2
8336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8338 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 if test -n "$ac_ct_AR"; then
8342 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir=.
8349 for ac_exec_ext in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_prog_ac_ct_AR="ar"
8352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8362 if test -n "$ac_ct_AR"; then
8363 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
8364 echo "${ECHO_T}$ac_ct_AR" >&6; }
8366 { echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6; }
8370 if test "x$ac_ct_AR" = x; then
8373 case $cross_compiling:$ac_tool_warned in
8375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8376 whose name does not start with the host triplet. If you think this
8377 configuration is useful to you, please write to autoconf@gnu.org." >&5
8378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8379 whose name does not start with the host triplet. If you think this
8380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8381 ac_tool_warned=yes ;;
8389 if test -n "$ac_tool_prefix"; then
8390 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8391 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8394 if test "${ac_cv_prog_RANLIB+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 if test -n "$RANLIB"; then
8398 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8404 test -z "$as_dir" && as_dir=.
8405 for ac_exec_ext in '' $ac_executable_extensions; do
8406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8407 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8417 RANLIB=$ac_cv_prog_RANLIB
8418 if test -n "$RANLIB"; then
8419 { echo "$as_me:$LINENO: result: $RANLIB" >&5
8420 echo "${ECHO_T}$RANLIB" >&6; }
8422 { echo "$as_me:$LINENO: result: no" >&5
8423 echo "${ECHO_T}no" >&6; }
8428 if test -z "$ac_cv_prog_RANLIB"; then
8429 ac_ct_RANLIB=$RANLIB
8430 # Extract the first word of "ranlib", so it can be a program name with args.
8431 set dummy ranlib; ac_word=$2
8432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8434 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 if test -n "$ac_ct_RANLIB"; then
8438 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444 test -z "$as_dir" && as_dir=.
8445 for ac_exec_ext in '' $ac_executable_extensions; do
8446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8447 ac_cv_prog_ac_ct_RANLIB="ranlib"
8448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8457 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8458 if test -n "$ac_ct_RANLIB"; then
8459 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8460 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
8462 { echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6; }
8466 if test "x$ac_ct_RANLIB" = x; then
8469 case $cross_compiling:$ac_tool_warned in
8471 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8472 whose name does not start with the host triplet. If you think this
8473 configuration is useful to you, please write to autoconf@gnu.org." >&5
8474 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8475 whose name does not start with the host triplet. If you think this
8476 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8477 ac_tool_warned=yes ;;
8479 RANLIB=$ac_ct_RANLIB
8482 RANLIB="$ac_cv_prog_RANLIB"
8485 if test -n "$ac_tool_prefix"; then
8486 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8487 set dummy ${ac_tool_prefix}strip; ac_word=$2
8488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8490 if test "${ac_cv_prog_STRIP+set}" = set; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 if test -n "$STRIP"; then
8494 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 test -z "$as_dir" && as_dir=.
8501 for ac_exec_ext in '' $ac_executable_extensions; do
8502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8503 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 STRIP=$ac_cv_prog_STRIP
8514 if test -n "$STRIP"; then
8515 { echo "$as_me:$LINENO: result: $STRIP" >&5
8516 echo "${ECHO_T}$STRIP" >&6; }
8518 { echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6; }
8524 if test -z "$ac_cv_prog_STRIP"; then
8526 # Extract the first word of "strip", so it can be a program name with args.
8527 set dummy strip; ac_word=$2
8528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8530 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
8531 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 if test -n "$ac_ct_STRIP"; then
8534 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir=.
8541 for ac_exec_ext in '' $ac_executable_extensions; do
8542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8543 ac_cv_prog_ac_ct_STRIP="strip"
8544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8554 if test -n "$ac_ct_STRIP"; then
8555 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
8556 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
8558 { echo "$as_me:$LINENO: result: no" >&5
8559 echo "${ECHO_T}no" >&6; }
8562 if test "x$ac_ct_STRIP" = x; then
8565 case $cross_compiling:$ac_tool_warned in
8567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8568 whose name does not start with the host triplet. If you think this
8569 configuration is useful to you, please write to autoconf@gnu.org." >&5
8570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8571 whose name does not start with the host triplet. If you think this
8572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8573 ac_tool_warned=yes ;;
8578 STRIP="$ac_cv_prog_STRIP"
8583 old_CFLAGS="$CFLAGS"
8585 # Set sane defaults for various variables
8586 test -z "$AR" && AR=ar
8587 test -z "$AR_FLAGS" && AR_FLAGS=cru
8588 test -z "$AS" && AS=as
8589 test -z "$CC" && CC=cc
8590 test -z "$LTCC" && LTCC=$CC
8591 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8592 test -z "$DLLTOOL" && DLLTOOL=dlltool
8593 test -z "$LD" && LD=ld
8594 test -z "$LN_S" && LN_S="ln -s"
8595 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8596 test -z "$NM" && NM=nm
8597 test -z "$SED" && SED=sed
8598 test -z "$OBJDUMP" && OBJDUMP=objdump
8599 test -z "$RANLIB" && RANLIB=:
8600 test -z "$STRIP" && STRIP=:
8601 test -z "$ac_objext" && ac_objext=o
8603 # Determine commands to create old-style static archives.
8604 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8605 old_postinstall_cmds='chmod 644 $oldlib'
8606 old_postuninstall_cmds=
8608 if test -n "$RANLIB"; then
8611 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8614 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8617 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8620 for cc_temp in $compiler""; do
8622 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8623 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8628 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8631 # Only perform the check for file, if the check method requires it
8632 case $deplibs_check_method in
8634 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8635 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8636 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8637 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8645 lt_save_MAGIC_CMD="$MAGIC_CMD"
8646 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8647 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8648 for ac_dir in $ac_dummy; do
8650 test -z "$ac_dir" && ac_dir=.
8651 if test -f $ac_dir/${ac_tool_prefix}file; then
8652 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8653 if test -n "$file_magic_test_file"; then
8654 case $deplibs_check_method in
8656 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8657 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8658 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8659 $EGREP "$file_magic_regex" > /dev/null; then
8664 *** Warning: the command libtool uses to detect shared libraries,
8665 *** $file_magic_cmd, produces output that libtool cannot recognize.
8666 *** The result is that libtool may fail to recognize shared libraries
8667 *** as such. This will affect the creation of libtool libraries that
8668 *** depend on shared libraries, but programs linked with such libtool
8669 *** libraries will work regardless of this problem. Nevertheless, you
8670 *** may want to report the problem to your system manager and/or to
8671 *** bug-libtool@gnu.org
8681 MAGIC_CMD="$lt_save_MAGIC_CMD"
8686 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8687 if test -n "$MAGIC_CMD"; then
8688 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8689 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8691 { echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6; }
8695 if test -z "$lt_cv_path_MAGIC_CMD"; then
8696 if test -n "$ac_tool_prefix"; then
8697 { echo "$as_me:$LINENO: checking for file" >&5
8698 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8699 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8704 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8707 lt_save_MAGIC_CMD="$MAGIC_CMD"
8708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8709 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8710 for ac_dir in $ac_dummy; do
8712 test -z "$ac_dir" && ac_dir=.
8713 if test -f $ac_dir/file; then
8714 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8715 if test -n "$file_magic_test_file"; then
8716 case $deplibs_check_method in
8718 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8719 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8720 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8721 $EGREP "$file_magic_regex" > /dev/null; then
8726 *** Warning: the command libtool uses to detect shared libraries,
8727 *** $file_magic_cmd, produces output that libtool cannot recognize.
8728 *** The result is that libtool may fail to recognize shared libraries
8729 *** as such. This will affect the creation of libtool libraries that
8730 *** depend on shared libraries, but programs linked with such libtool
8731 *** libraries will work regardless of this problem. Nevertheless, you
8732 *** may want to report the problem to your system manager and/or to
8733 *** bug-libtool@gnu.org
8743 MAGIC_CMD="$lt_save_MAGIC_CMD"
8748 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8749 if test -n "$MAGIC_CMD"; then
8750 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8751 echo "${ECHO_T}$MAGIC_CMD" >&6; }
8753 { echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6; }
8768 rhapsody* | darwin*)
8769 if test -n "$ac_tool_prefix"; then
8770 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8771 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8774 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8777 if test -n "$DSYMUTIL"; then
8778 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 test -z "$as_dir" && as_dir=.
8785 for ac_exec_ext in '' $ac_executable_extensions; do
8786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8787 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8797 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8798 if test -n "$DSYMUTIL"; then
8799 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8800 echo "${ECHO_T}$DSYMUTIL" >&6; }
8802 { echo "$as_me:$LINENO: result: no" >&5
8803 echo "${ECHO_T}no" >&6; }
8808 if test -z "$ac_cv_prog_DSYMUTIL"; then
8809 ac_ct_DSYMUTIL=$DSYMUTIL
8810 # Extract the first word of "dsymutil", so it can be a program name with args.
8811 set dummy dsymutil; ac_word=$2
8812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8814 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8815 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 if test -n "$ac_ct_DSYMUTIL"; then
8818 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8824 test -z "$as_dir" && as_dir=.
8825 for ac_exec_ext in '' $ac_executable_extensions; do
8826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8827 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8838 if test -n "$ac_ct_DSYMUTIL"; then
8839 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8840 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
8842 { echo "$as_me:$LINENO: result: no" >&5
8843 echo "${ECHO_T}no" >&6; }
8846 if test "x$ac_ct_DSYMUTIL" = x; then
8849 case $cross_compiling:$ac_tool_warned in
8851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8852 whose name does not start with the host triplet. If you think this
8853 configuration is useful to you, please write to autoconf@gnu.org." >&5
8854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8855 whose name does not start with the host triplet. If you think this
8856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8857 ac_tool_warned=yes ;;
8859 DSYMUTIL=$ac_ct_DSYMUTIL
8862 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8865 if test -n "$ac_tool_prefix"; then
8866 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8867 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8870 if test "${ac_cv_prog_NMEDIT+set}" = set; then
8871 echo $ECHO_N "(cached) $ECHO_C" >&6
8873 if test -n "$NMEDIT"; then
8874 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8893 NMEDIT=$ac_cv_prog_NMEDIT
8894 if test -n "$NMEDIT"; then
8895 { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8896 echo "${ECHO_T}$NMEDIT" >&6; }
8898 { echo "$as_me:$LINENO: result: no" >&5
8899 echo "${ECHO_T}no" >&6; }
8904 if test -z "$ac_cv_prog_NMEDIT"; then
8905 ac_ct_NMEDIT=$NMEDIT
8906 # Extract the first word of "nmedit", so it can be a program name with args.
8907 set dummy nmedit; ac_word=$2
8908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8910 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 if test -n "$ac_ct_NMEDIT"; then
8914 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8933 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8934 if test -n "$ac_ct_NMEDIT"; then
8935 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8936 echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
8938 { echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6; }
8942 if test "x$ac_ct_NMEDIT" = x; then
8945 case $cross_compiling:$ac_tool_warned in
8947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8948 whose name does not start with the host triplet. If you think this
8949 configuration is useful to you, please write to autoconf@gnu.org." >&5
8950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8951 whose name does not start with the host triplet. If you think this
8952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8953 ac_tool_warned=yes ;;
8955 NMEDIT=$ac_ct_NMEDIT
8958 NMEDIT="$ac_cv_prog_NMEDIT"
8962 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8963 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8964 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 lt_cv_apple_cc_single_mod=no
8968 if test -z "${LT_MULTI_MODULE}"; then
8969 # By default we will add the -single_module flag. You can override
8970 # by either setting the environment variable LT_MULTI_MODULE
8971 # non-empty at configure time, or by adding -multi_module to the
8973 echo "int foo(void){return 1;}" > conftest.c
8974 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8975 -dynamiclib ${wl}-single_module conftest.c
8976 if test -f libconftest.dylib; then
8977 lt_cv_apple_cc_single_mod=yes
8978 rm -rf libconftest.dylib*
8983 { echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8984 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8985 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8986 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8987 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8988 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 lt_cv_ld_exported_symbols_list=no
8991 save_LDFLAGS=$LDFLAGS
8992 echo "_main" > conftest.sym
8993 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8994 cat >conftest.$ac_ext <<_ACEOF
8997 cat confdefs.h >>conftest.$ac_ext
8998 cat >>conftest.$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9009 rm -f conftest.$ac_objext conftest$ac_exeext
9010 if { (ac_try="$ac_link"
9012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9013 *) ac_try_echo=$ac_try;;
9015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9016 (eval "$ac_link") 2>conftest.er1
9018 grep -v '^ *+' conftest.er1 >conftest.err
9020 cat conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); } && {
9023 test -z "$ac_c_werror_flag" ||
9024 test ! -s conftest.err
9025 } && test -s conftest$ac_exeext &&
9026 $as_test_x conftest$ac_exeext; then
9027 lt_cv_ld_exported_symbols_list=yes
9029 echo "$as_me: failed program was:" >&5
9030 sed 's/^/| /' conftest.$ac_ext >&5
9032 lt_cv_ld_exported_symbols_list=no
9035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9036 conftest$ac_exeext conftest.$ac_ext
9037 LDFLAGS="$save_LDFLAGS"
9040 { echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9041 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9043 rhapsody* | darwin1.[0123])
9044 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9046 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9048 # if running on 10.5 or later, the deployment target defaults
9049 # to the OS version, if on x86, and 10.4, the deployment
9050 # target defaults to 10.4. Don't you love it?
9051 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9052 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9053 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9055 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9057 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9061 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9062 _lt_dar_single_mod='$single_module'
9064 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9065 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9067 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9069 if test "$DSYMUTIL" != ":"; then
9070 _lt_dsymutil="~$DSYMUTIL \$lib || :"
9081 # Check whether --enable-libtool-lock was given.
9082 if test "${enable_libtool_lock+set}" = set; then
9083 enableval=$enable_libtool_lock;
9086 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9089 # Check whether --with-pic was given.
9090 if test "${with_pic+set}" = set; then
9091 withval=$with_pic; pic_mode="$withval"
9096 test -z "$pic_mode" && pic_mode=default
9098 # Use C for the default configuration in the libtool script
9102 ac_cpp='$CPP $CPPFLAGS'
9103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9108 # Source file extension for C test sources.
9111 # Object file extension for compiled C test sources.
9115 # Code to be used in simple compile tests
9116 lt_simple_compile_test_code="int some_variable = 0;"
9118 # Code to be used in simple link tests
9119 lt_simple_link_test_code='int main(){return(0);}'
9122 # If no C compiler was specified, use CC.
9125 # If no C compiler flags were specified, use CFLAGS.
9126 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9128 # Allow CC to be a program name with arguments.
9132 # save warnings/boilerplate of simple test code
9133 ac_outfile=conftest.$ac_objext
9134 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9135 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9136 _lt_compiler_boilerplate=`cat conftest.err`
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9141 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9142 _lt_linker_boilerplate=`cat conftest.err`
9147 lt_prog_compiler_no_builtin_flag=
9149 if test "$GCC" = yes; then
9150 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9153 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9154 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9155 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 lt_cv_prog_compiler_rtti_exceptions=no
9159 ac_outfile=conftest.$ac_objext
9160 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9161 lt_compiler_flag="-fno-rtti -fno-exceptions"
9162 # Insert the option either (1) after the last *FLAGS variable, or
9163 # (2) before a word containing "conftest.", or (3) at the end.
9164 # Note that $ac_compile itself does not contain backslashes and begins
9165 # with a dollar sign (not a hyphen), so the echo should work correctly.
9166 # The option is referenced via a variable to avoid confusing sed.
9167 lt_compile=`echo "$ac_compile" | $SED \
9168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9170 -e 's:$: $lt_compiler_flag:'`
9171 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9172 (eval "$lt_compile" 2>conftest.err)
9174 cat conftest.err >&5
9175 echo "$as_me:__oline__: \$? = $ac_status" >&5
9176 if (exit $ac_status) && test -s "$ac_outfile"; then
9177 # The compiler can only warn and ignore the option if not recognized
9178 # So say no if there are warnings other than the usual output.
9179 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9180 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9181 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9182 lt_cv_prog_compiler_rtti_exceptions=yes
9188 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9189 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9191 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9192 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9199 lt_prog_compiler_wl=
9200 lt_prog_compiler_pic=
9201 lt_prog_compiler_static=
9203 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9204 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9206 if test "$GCC" = yes; then
9207 lt_prog_compiler_wl='-Wl,'
9208 lt_prog_compiler_static='-static'
9212 # All AIX code is PIC.
9213 if test "$host_cpu" = ia64; then
9214 # AIX 5 now supports IA64 processor
9215 lt_prog_compiler_static='-Bstatic'
9220 # FIXME: we need at least 68020 code to build shared libraries, but
9221 # adding the `-m68020' flag to GCC prevents building anything better,
9223 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9226 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9227 # PIC is the default for these OSes.
9230 mingw* | cygwin* | pw32* | os2*)
9231 # This hack is so that the source file can tell whether it is being
9232 # built for inclusion in a dll (and should export symbols for example).
9233 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9234 # (--disable-auto-import) libraries
9235 lt_prog_compiler_pic='-DDLL_EXPORT'
9238 darwin* | rhapsody*)
9239 # PIC is the default on this platform
9240 # Common symbols not allowed in MH_DYLIB files
9241 lt_prog_compiler_pic='-fno-common'
9245 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9246 # Instead, we relocate shared libraries at runtime.
9250 # Just because we use GCC doesn't mean we suddenly get shared libraries
9251 # on systems that don't support them.
9252 lt_prog_compiler_can_build_shared=no
9257 if test -d /usr/nec; then
9258 lt_prog_compiler_pic=-Kconform_pic
9263 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9270 lt_prog_compiler_pic='-fPIC'
9276 lt_prog_compiler_pic='-fPIC'
9280 # PORTME Check for flag to pass linker flags through the system compiler.
9283 lt_prog_compiler_wl='-Wl,'
9284 if test "$host_cpu" = ia64; then
9285 # AIX 5 now supports IA64 processor
9286 lt_prog_compiler_static='-Bstatic'
9288 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9292 # PIC is the default on this platform
9293 # Common symbols not allowed in MH_DYLIB files
9294 case $cc_basename in
9296 lt_prog_compiler_pic='-qnocommon'
9297 lt_prog_compiler_wl='-Wl,'
9302 mingw* | cygwin* | pw32* | os2*)
9303 # This hack is so that the source file can tell whether it is being
9304 # built for inclusion in a dll (and should export symbols for example).
9305 lt_prog_compiler_pic='-DDLL_EXPORT'
9308 hpux9* | hpux10* | hpux11*)
9309 lt_prog_compiler_wl='-Wl,'
9310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9317 lt_prog_compiler_pic='+Z'
9320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9321 lt_prog_compiler_static='${wl}-a ${wl}archive'
9324 irix5* | irix6* | nonstopux*)
9325 lt_prog_compiler_wl='-Wl,'
9326 # PIC (with -KPIC) is the default.
9327 lt_prog_compiler_static='-non_shared'
9331 lt_prog_compiler_pic='-KPIC'
9332 lt_prog_compiler_static='-Bstatic'
9335 linux* | k*bsd*-gnu)
9336 case $cc_basename in
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-static'
9342 pgcc* | pgf77* | pgf90* | pgf95*)
9343 # Portland Group compilers (*not* the Pentium gcc compiler,
9344 # which looks to be a dead project)
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fpic'
9347 lt_prog_compiler_static='-Bstatic'
9350 lt_prog_compiler_wl='-Wl,'
9351 # All Alpha code is PIC.
9352 lt_prog_compiler_static='-non_shared'
9355 case `$CC -V 2>&1 | sed 5q` in
9358 lt_prog_compiler_pic='-KPIC'
9359 lt_prog_compiler_static='-Bstatic'
9360 lt_prog_compiler_wl='-Wl,'
9363 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9364 lt_prog_compiler_pic='-KPIC'
9365 lt_prog_compiler_static='-Bstatic'
9366 lt_prog_compiler_wl=''
9373 osf3* | osf4* | osf5*)
9374 lt_prog_compiler_wl='-Wl,'
9375 # All OSF/1 code is PIC.
9376 lt_prog_compiler_static='-non_shared'
9380 lt_prog_compiler_static='-non_shared'
9384 lt_prog_compiler_pic='-KPIC'
9385 lt_prog_compiler_static='-Bstatic'
9386 case $cc_basename in
9388 lt_prog_compiler_wl='-Qoption ld ';;
9390 lt_prog_compiler_wl='-Wl,';;
9395 lt_prog_compiler_wl='-Qoption ld '
9396 lt_prog_compiler_pic='-PIC'
9397 lt_prog_compiler_static='-Bstatic'
9400 sysv4 | sysv4.2uw2* | sysv4.3*)
9401 lt_prog_compiler_wl='-Wl,'
9402 lt_prog_compiler_pic='-KPIC'
9403 lt_prog_compiler_static='-Bstatic'
9407 if test -d /usr/nec ;then
9408 lt_prog_compiler_pic='-Kconform_pic'
9409 lt_prog_compiler_static='-Bstatic'
9413 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9414 lt_prog_compiler_wl='-Wl,'
9415 lt_prog_compiler_pic='-KPIC'
9416 lt_prog_compiler_static='-Bstatic'
9420 lt_prog_compiler_wl='-Wl,'
9421 lt_prog_compiler_can_build_shared=no
9425 lt_prog_compiler_pic='-pic'
9426 lt_prog_compiler_static='-Bstatic'
9430 lt_prog_compiler_can_build_shared=no
9435 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9436 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9439 # Check to make sure the PIC flag actually works.
9441 if test -n "$lt_prog_compiler_pic"; then
9443 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9444 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9445 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9448 lt_cv_prog_compiler_pic_works=no
9449 ac_outfile=conftest.$ac_objext
9450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9451 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9452 # Insert the option either (1) after the last *FLAGS variable, or
9453 # (2) before a word containing "conftest.", or (3) at the end.
9454 # Note that $ac_compile itself does not contain backslashes and begins
9455 # with a dollar sign (not a hyphen), so the echo should work correctly.
9456 # The option is referenced via a variable to avoid confusing sed.
9457 lt_compile=`echo "$ac_compile" | $SED \
9458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9460 -e 's:$: $lt_compiler_flag:'`
9461 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9462 (eval "$lt_compile" 2>conftest.err)
9464 cat conftest.err >&5
9465 echo "$as_me:__oline__: \$? = $ac_status" >&5
9466 if (exit $ac_status) && test -s "$ac_outfile"; then
9467 # The compiler can only warn and ignore the option if not recognized
9468 # So say no if there are warnings other than the usual output.
9469 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9470 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9471 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9472 lt_cv_prog_compiler_pic_works=yes
9478 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9479 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9481 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9482 case $lt_prog_compiler_pic in
9484 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9487 lt_prog_compiler_pic=
9488 lt_prog_compiler_can_build_shared=no
9493 # For platforms which do not support PIC, -DPIC is meaningless:
9495 lt_prog_compiler_pic=
9498 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9503 # Check to make sure the static flag actually works.
9505 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9506 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9507 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9508 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 lt_cv_prog_compiler_static_works=no
9512 save_LDFLAGS="$LDFLAGS"
9513 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9514 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9515 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9516 # The linker can only warn and ignore the option if not recognized
9517 # So say no if there are warnings
9518 if test -s conftest.err; then
9519 # Append any errors to the config.log.
9520 cat conftest.err 1>&5
9521 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9523 if diff conftest.exp conftest.er2 >/dev/null; then
9524 lt_cv_prog_compiler_static_works=yes
9527 lt_cv_prog_compiler_static_works=yes
9531 LDFLAGS="$save_LDFLAGS"
9534 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9535 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9537 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9540 lt_prog_compiler_static=
9544 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9545 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9546 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6
9549 lt_cv_prog_compiler_c_o=no
9550 $rm -r conftest 2>/dev/null
9554 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9556 lt_compiler_flag="-o out/conftest2.$ac_objext"
9557 # Insert the option either (1) after the last *FLAGS variable, or
9558 # (2) before a word containing "conftest.", or (3) at the end.
9559 # Note that $ac_compile itself does not contain backslashes and begins
9560 # with a dollar sign (not a hyphen), so the echo should work correctly.
9561 lt_compile=`echo "$ac_compile" | $SED \
9562 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9563 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9564 -e 's:$: $lt_compiler_flag:'`
9565 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9566 (eval "$lt_compile" 2>out/conftest.err)
9568 cat out/conftest.err >&5
9569 echo "$as_me:__oline__: \$? = $ac_status" >&5
9570 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9572 # The compiler can only warn and ignore the option if not recognized
9573 # So say no if there are warnings
9574 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9575 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9576 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9577 lt_cv_prog_compiler_c_o=yes
9582 # SGI C++ compiler will create directory out/ii_files/ for
9583 # template instantiation
9584 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
9585 $rm out/* && rmdir out
9591 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9592 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9595 hard_links="nottested"
9596 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9597 # do not overwrite the value of need_locks provided by the user
9598 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9599 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9602 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9604 ln conftest.a conftest.b 2>&5 || hard_links=no
9605 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9606 { echo "$as_me:$LINENO: result: $hard_links" >&5
9607 echo "${ECHO_T}$hard_links" >&6; }
9608 if test "$hard_links" = no; then
9609 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9610 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9617 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9618 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9621 allow_undefined_flag=
9622 enable_shared_with_static_runtimes=no
9624 archive_expsym_cmds=
9625 old_archive_From_new_cmds=
9626 old_archive_from_expsyms_cmds=
9627 export_dynamic_flag_spec=
9628 whole_archive_flag_spec=
9629 thread_safe_flag_spec=
9630 hardcode_libdir_flag_spec=
9631 hardcode_libdir_flag_spec_ld=
9632 hardcode_libdir_separator=
9635 hardcode_shlibpath_var=unsupported
9636 link_all_deplibs=unknown
9637 hardcode_automatic=no
9640 always_export_symbols=no
9641 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9642 # include_expsyms should be a list of space-separated symbols to be *always*
9643 # included in the symbol list
9645 # exclude_expsyms can be an extended regexp of symbols to exclude
9646 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9647 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9648 # as well as any symbol that contains `d'.
9649 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9650 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9651 # platforms (ab)use it in PIC code, but their linkers get confused if
9652 # the symbol is explicitly referenced. Since portable code cannot
9653 # rely on this symbol name, it's probably fine to never include it in
9654 # preloaded symbol tables.
9655 # Exclude shared library initialization/finalization symbols.
9656 extract_expsyms_cmds=
9657 # Just being paranoid about ensuring that cc_basename is set.
9658 for cc_temp in $compiler""; do
9660 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9661 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9666 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9669 cygwin* | mingw* | pw32*)
9670 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9671 # When not using gcc, we currently assume that we are using
9672 # Microsoft Visual C++.
9673 if test "$GCC" != yes; then
9678 # we just hope/assume this is gcc and not c89 (= MSVC++)
9687 if test "$with_gnu_ld" = yes; then
9688 # If archive_cmds runs LD, not CC, wlarc should be empty
9691 # Set some defaults for GNU ld with shared library support. These
9692 # are reset later if shared libraries are not supported. Putting them
9693 # here allows them to be overridden if necessary.
9694 runpath_var=LD_RUN_PATH
9695 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
9696 export_dynamic_flag_spec='${wl}--export-dynamic'
9697 # ancient GNU ld didn't support --whole-archive et. al.
9698 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9699 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9701 whole_archive_flag_spec=
9703 supports_anon_versioning=no
9704 case `$LD -v 2>/dev/null` in
9705 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9706 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9707 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9708 *\ 2.11.*) ;; # other 2.11 versions
9709 *) supports_anon_versioning=yes ;;
9712 # See if GNU ld supports shared libraries.
9715 # On AIX/PPC, the GNU linker is very broken
9716 if test "$host_cpu" != ia64; then
9720 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9721 *** to be unable to reliably create shared libraries on AIX.
9722 *** Therefore, libtool is disabling shared libraries support. If you
9723 *** really care for shared libraries, you may want to modify your PATH
9724 *** so that a non-GNU linker is found, and then restart.
9731 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)'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_minus_L=yes
9735 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9736 # that the semantics of dynamic libraries on AmigaOS, at least up
9737 # to version 4, is to share data among multiple programs linked
9738 # with the same dynamic library. Since this doesn't match the
9739 # behavior of shared libraries on other platforms, we can't use
9745 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9746 allow_undefined_flag=unsupported
9747 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9748 # support --undefined. This deserves some investigation. FIXME
9749 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9755 cygwin* | mingw* | pw32*)
9756 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9757 # as there is no search path for DLLs.
9758 hardcode_libdir_flag_spec='-L$libdir'
9759 allow_undefined_flag=unsupported
9760 always_export_symbols=no
9761 enable_shared_with_static_runtimes=yes
9762 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9764 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9765 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9766 # If the export-symbols file already is a .def file (1st line
9767 # is EXPORTS), use it as is; otherwise, prepend...
9768 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9769 cp $export_symbols $output_objdir/$soname.def;
9771 echo EXPORTS > $output_objdir/$soname.def;
9772 cat $export_symbols >> $output_objdir/$soname.def;
9774 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9782 hardcode_shlibpath_var=no
9783 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9784 export_dynamic_flag_spec='${wl}-E'
9785 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9786 # Instead, shared libraries are loaded at an image base (0x10000000 by
9787 # default) and relocated if they conflict, which is a slow very memory
9788 # consuming and fragmenting process. To avoid this, we pick a random,
9789 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9790 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9791 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9792 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'
9795 gnu* | linux* | k*bsd*-gnu)
9796 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9798 case $cc_basename,$host_cpu in
9799 pgcc*) # Portland Group C compiler
9800 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'
9801 tmp_addflag=' $pic_flag'
9803 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9804 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'
9805 tmp_addflag=' $pic_flag -Mnomain' ;;
9806 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9807 tmp_addflag=' -i_dynamic' ;;
9808 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9809 tmp_addflag=' -i_dynamic -nofor_main' ;;
9810 ifc* | ifort*) # Intel Fortran compiler
9811 tmp_addflag=' -nofor_main' ;;
9813 case `$CC -V 2>&1 | sed 5q` in
9814 *Sun\ C*) # Sun C 5.9
9815 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'
9816 tmp_sharedflag='-G' ;;
9817 *Sun\ F*) # Sun Fortran 8.3
9818 tmp_sharedflag='-G' ;;
9820 tmp_sharedflag='-shared' ;;
9822 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 if test $supports_anon_versioning = yes; then
9825 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9826 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9827 $echo "local: *; };" >> $output_objdir/$libname.ver~
9828 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9836 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9837 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9840 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9841 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9846 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
9850 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9851 *** create shared libraries on Solaris systems. Therefore, libtool
9852 *** is disabling shared libraries support. We urge you to upgrade GNU
9853 *** binutils to release 2.9.1 or newer. Another option is to modify
9854 *** your PATH or compiler configuration so that the native linker is
9855 *** used, and then restart.
9858 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9859 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9860 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9866 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9867 case `$LD -v 2>&1` in
9868 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9872 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9873 *** reliably create shared libraries on SCO systems. Therefore, libtool
9874 *** is disabling shared libraries support. We urge you to upgrade GNU
9875 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9876 *** your PATH or compiler configuration so that the native linker is
9877 *** used, and then restart.
9882 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9883 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9885 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
9894 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_shlibpath_var=no
9901 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9903 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9910 if test "$ld_shlibs" = no; then
9912 hardcode_libdir_flag_spec=
9913 export_dynamic_flag_spec=
9914 whole_archive_flag_spec=
9917 # PORTME fill in a description of your system's linker (not GNU ld)
9920 allow_undefined_flag=unsupported
9921 always_export_symbols=yes
9922 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'
9923 # Note: this linker hardcodes the directories in LIBPATH if there
9924 # are no directories specified by -L.
9925 hardcode_minus_L=yes
9926 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9927 # Neither direct hardcoding nor static linking is supported with a
9929 hardcode_direct=unsupported
9934 if test "$host_cpu" = ia64; then
9935 # On IA64, the linker does run time linking by default, so we don't
9936 # have to do anything special.
9937 aix_use_runtimelinking=no
9938 exp_sym_flag='-Bexport'
9941 # If we're using GNU nm, then we don't want the "-C" option.
9942 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9943 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9944 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'
9946 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'
9948 aix_use_runtimelinking=no
9950 # Test if we are trying to use run time linking or normal
9951 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9952 # need to do runtime linking.
9953 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9954 for ld_flag in $LDFLAGS; do
9955 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9956 aix_use_runtimelinking=yes
9963 exp_sym_flag='-bexport'
9964 no_entry_flag='-bnoentry'
9967 # When large executables or shared objects are built, AIX ld can
9968 # have problems creating the table of contents. If linking a library
9969 # or program results in "error TOC overflow" add -mminimal-toc to
9970 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9971 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9975 hardcode_libdir_separator=':'
9976 link_all_deplibs=yes
9978 if test "$GCC" = yes; then
9979 case $host_os in aix4.[012]|aix4.[012].*)
9980 # We only want to do this on AIX 4.2 and lower, the check
9981 # below for broken collect2 doesn't work under 4.3+
9982 collect2name=`${CC} -print-prog-name=collect2`
9983 if test -f "$collect2name" && \
9984 strings "$collect2name" | grep resolve_lib_name >/dev/null
9986 # We have reworked collect2
9989 # We have old collect2
9990 hardcode_direct=unsupported
9991 # It fails to find uninstalled libraries when the uninstalled
9992 # path is not listed in the libpath. Setting hardcode_minus_L
9993 # to unsupported forces relinking
9994 hardcode_minus_L=yes
9995 hardcode_libdir_flag_spec='-L$libdir'
9996 hardcode_libdir_separator=
10000 shared_flag='-shared'
10001 if test "$aix_use_runtimelinking" = yes; then
10002 shared_flag="$shared_flag "'${wl}-G'
10006 if test "$host_cpu" = ia64; then
10007 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10008 # chokes on -Wl,-G. The following line is correct:
10011 if test "$aix_use_runtimelinking" = yes; then
10012 shared_flag='${wl}-G'
10014 shared_flag='${wl}-bM:SRE'
10019 # It seems that -bexpall does not export symbols beginning with
10020 # underscore (_), so it is better to generate a list of symbols to export.
10021 always_export_symbols=yes
10022 if test "$aix_use_runtimelinking" = yes; then
10023 # Warning - without using the other runtime loading flags (-brtl),
10024 # -berok will link without error, but may produce a broken library.
10025 allow_undefined_flag='-berok'
10026 # Determine the default libpath from the value encoded in an empty executable.
10027 cat >conftest.$ac_ext <<_ACEOF
10030 cat confdefs.h >>conftest.$ac_ext
10031 cat >>conftest.$ac_ext <<_ACEOF
10032 /* end confdefs.h. */
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (ac_try="$ac_link"
10044 case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10051 grep -v '^ *+' conftest.er1 >conftest.err
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10061 lt_aix_libpath_sed='
10062 /Import File Strings/,/^$/ {
10068 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10069 # Check for a 64-bit object if we didn't find anything.
10070 if test -z "$aix_libpath"; then
10071 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10074 echo "$as_me: failed program was:" >&5
10075 sed 's/^/| /' conftest.$ac_ext >&5
10080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10081 conftest$ac_exeext conftest.$ac_ext
10082 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10084 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10085 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10087 if test "$host_cpu" = ia64; then
10088 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10089 allow_undefined_flag="-z nodefs"
10090 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"
10092 # Determine the default libpath from the value encoded in an empty executable.
10093 cat >conftest.$ac_ext <<_ACEOF
10096 cat confdefs.h >>conftest.$ac_ext
10097 cat >>conftest.$ac_ext <<_ACEOF
10098 /* end confdefs.h. */
10108 rm -f conftest.$ac_objext conftest$ac_exeext
10109 if { (ac_try="$ac_link"
10110 case "(($ac_try" in
10111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10112 *) ac_try_echo=$ac_try;;
10114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10115 (eval "$ac_link") 2>conftest.er1
10117 grep -v '^ *+' conftest.er1 >conftest.err
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } && {
10122 test -z "$ac_c_werror_flag" ||
10123 test ! -s conftest.err
10124 } && test -s conftest$ac_exeext &&
10125 $as_test_x conftest$ac_exeext; then
10127 lt_aix_libpath_sed='
10128 /Import File Strings/,/^$/ {
10134 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10135 # Check for a 64-bit object if we didn't find anything.
10136 if test -z "$aix_libpath"; then
10137 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10140 echo "$as_me: failed program was:" >&5
10141 sed 's/^/| /' conftest.$ac_ext >&5
10146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10147 conftest$ac_exeext conftest.$ac_ext
10148 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10150 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10151 # Warning - without using the other run time loading flags,
10152 # -berok will link without error, but may produce a broken library.
10153 no_undefined_flag=' ${wl}-bernotok'
10154 allow_undefined_flag=' ${wl}-berok'
10155 # Exported symbols can be pulled into shared objects from archives
10156 whole_archive_flag_spec='$convenience'
10157 archive_cmds_need_lc=yes
10158 # This is similar to how AIX traditionally builds its shared libraries.
10159 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'
10165 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)'
10166 hardcode_libdir_flag_spec='-L$libdir'
10167 hardcode_minus_L=yes
10168 # see comment about different semantics on the GNU ld section
10173 export_dynamic_flag_spec=-rdynamic
10176 cygwin* | mingw* | pw32*)
10177 # When not using gcc, we currently assume that we are using
10178 # Microsoft Visual C++.
10179 # hardcode_libdir_flag_spec is actually meaningless, as there is
10180 # no search path for DLLs.
10181 hardcode_libdir_flag_spec=' '
10182 allow_undefined_flag=unsupported
10183 # Tell ltmain to make .lib files, not .a files.
10185 # Tell ltmain to make .dll files, not .so files.
10187 # FIXME: Setting linknames here is a bad hack.
10188 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
10189 # The linker will automatically build a .lib file if we build a DLL.
10190 old_archive_From_new_cmds='true'
10191 # FIXME: Should let the user specify the lib program.
10192 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10193 fix_srcfile_path='`cygpath -w "$srcfile"`'
10194 enable_shared_with_static_runtimes=yes
10197 darwin* | rhapsody*)
10199 rhapsody* | darwin1.[012])
10200 allow_undefined_flag='${wl}-undefined ${wl}suppress'
10203 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10204 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10206 case ${MACOSX_DEPLOYMENT_TARGET} in
10208 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10211 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
10217 archive_cmds_need_lc=no
10219 hardcode_automatic=yes
10220 hardcode_shlibpath_var=unsupported
10221 whole_archive_flag_spec=''
10222 link_all_deplibs=yes
10223 if test "$GCC" = yes ; then
10224 output_verbose_link_cmd='echo'
10225 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10226 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10227 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}"
10228 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}"
10230 case $cc_basename in
10232 output_verbose_link_cmd='echo'
10233 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10234 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10235 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10236 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10237 module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10247 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248 hardcode_libdir_flag_spec='-L$libdir'
10249 hardcode_shlibpath_var=no
10256 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10257 # support. Future versions do this automatically, but an explicit c++rt0.o
10258 # does not break anything, and helps significantly (at the cost of a little
10261 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10262 hardcode_libdir_flag_spec='-R$libdir'
10263 hardcode_direct=yes
10264 hardcode_shlibpath_var=no
10267 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10269 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10270 hardcode_direct=yes
10271 hardcode_minus_L=yes
10272 hardcode_shlibpath_var=no
10275 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10276 freebsd* | dragonfly*)
10277 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10278 hardcode_libdir_flag_spec='-R$libdir'
10279 hardcode_direct=yes
10280 hardcode_shlibpath_var=no
10284 if test "$GCC" = yes; then
10285 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'
10287 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'
10289 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10290 hardcode_libdir_separator=:
10291 hardcode_direct=yes
10293 # hardcode_minus_L: Not really in the search PATH,
10294 # but as the default location of the library.
10295 hardcode_minus_L=yes
10296 export_dynamic_flag_spec='${wl}-E'
10300 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10301 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10303 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10305 if test "$with_gnu_ld" = no; then
10306 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10307 hardcode_libdir_separator=:
10309 hardcode_direct=yes
10310 export_dynamic_flag_spec='${wl}-E'
10312 # hardcode_minus_L: Not really in the search PATH,
10313 # but as the default location of the library.
10314 hardcode_minus_L=yes
10319 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10322 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10328 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10340 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10344 if test "$with_gnu_ld" = no; then
10345 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10346 hardcode_libdir_separator=:
10350 hardcode_libdir_flag_spec_ld='+b $libdir'
10352 hardcode_shlibpath_var=no
10355 hardcode_direct=yes
10356 export_dynamic_flag_spec='${wl}-E'
10358 # hardcode_minus_L: Not really in the search PATH,
10359 # but as the default location of the library.
10360 hardcode_minus_L=yes
10366 irix5* | irix6* | nonstopux*)
10367 if test "$GCC" = yes; then
10368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10370 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10371 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10373 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10374 hardcode_libdir_separator=:
10375 link_all_deplibs=yes
10379 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10380 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10382 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_direct=yes
10392 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10393 hardcode_libdir_separator=:
10394 hardcode_shlibpath_var=no
10398 if test -f /usr/libexec/ld.so; then
10399 hardcode_direct=yes
10400 hardcode_shlibpath_var=no
10401 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10402 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10403 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10404 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10405 export_dynamic_flag_spec='${wl}-E'
10408 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10410 hardcode_libdir_flag_spec='-R$libdir'
10413 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10414 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10424 hardcode_libdir_flag_spec='-L$libdir'
10425 hardcode_minus_L=yes
10426 allow_undefined_flag=unsupported
10427 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'
10428 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10432 if test "$GCC" = yes; then
10433 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10434 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10436 allow_undefined_flag=' -expect_unresolved \*'
10437 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10440 hardcode_libdir_separator=:
10443 osf4* | osf5*) # as osf3* with the addition of -msym flag
10444 if test "$GCC" = yes; then
10445 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10446 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10447 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10449 allow_undefined_flag=' -expect_unresolved \*'
10450 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10451 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
10452 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
10454 # Both c and cxx compiler support -rpath directly
10455 hardcode_libdir_flag_spec='-rpath $libdir'
10457 hardcode_libdir_separator=:
10461 no_undefined_flag=' -z text'
10462 if test "$GCC" = yes; then
10464 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10465 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10466 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
10469 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10470 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10471 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
10473 hardcode_libdir_flag_spec='-R$libdir'
10474 hardcode_shlibpath_var=no
10476 solaris2.[0-5] | solaris2.[0-5].*) ;;
10478 # The compiler driver will combine and reorder linker options,
10479 # but understands `-z linker_flag'. GCC discards it without `$wl',
10480 # but is careful enough not to reorder.
10481 # Supported since Solaris 2.6 (maybe 2.5.1?)
10482 if test "$GCC" = yes; then
10483 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10485 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10489 link_all_deplibs=yes
10493 if test "x$host_vendor" = xsequent; then
10494 # Use $CC to link under sequent, because it throws in some extra .o
10495 # files that make .init and .fini sections work.
10496 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10498 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10500 hardcode_libdir_flag_spec='-L$libdir'
10501 hardcode_direct=yes
10502 hardcode_minus_L=yes
10503 hardcode_shlibpath_var=no
10507 case $host_vendor in
10509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10510 hardcode_direct=yes # is this really true???
10513 ## LD is ld it makes a PLAMLIB
10514 ## CC just makes a GrossModule.
10515 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10516 reload_cmds='$CC -r -o $output$reload_objs'
10520 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10521 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10524 runpath_var='LD_RUN_PATH'
10525 hardcode_shlibpath_var=no
10529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10530 hardcode_shlibpath_var=no
10531 export_dynamic_flag_spec='-Bexport'
10535 if test -d /usr/nec; then
10536 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10537 hardcode_shlibpath_var=no
10538 runpath_var=LD_RUN_PATH
10539 hardcode_runpath_var=yes
10544 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10545 no_undefined_flag='${wl}-z,text'
10546 archive_cmds_need_lc=no
10547 hardcode_shlibpath_var=no
10548 runpath_var='LD_RUN_PATH'
10550 if test "$GCC" = yes; then
10551 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10552 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10554 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10555 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10559 sysv5* | sco3.2v5* | sco5v6*)
10560 # Note: We can NOT use -z defs as we might desire, because we do not
10561 # link with -lc, and that would cause any symbols used from libc to
10562 # always be unresolved, which means just about no library would
10563 # ever link correctly. If we're not using GNU ld we use -z text
10564 # though, which does catch some bad symbols but isn't as heavy-handed
10566 no_undefined_flag='${wl}-z,text'
10567 allow_undefined_flag='${wl}-z,nodefs'
10568 archive_cmds_need_lc=no
10569 hardcode_shlibpath_var=no
10570 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
10571 hardcode_libdir_separator=':'
10572 link_all_deplibs=yes
10573 export_dynamic_flag_spec='${wl}-Bexport'
10574 runpath_var='LD_RUN_PATH'
10576 if test "$GCC" = yes; then
10577 archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10578 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10580 archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10581 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
10586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10587 hardcode_libdir_flag_spec='-L$libdir'
10588 hardcode_shlibpath_var=no
10597 { echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10598 echo "${ECHO_T}$ld_shlibs" >&6; }
10599 test "$ld_shlibs" = no && can_build_shared=no
10602 # Do we need to explicitly link libc?
10604 case "x$archive_cmds_need_lc" in
10606 # Assume -lc should be added
10607 archive_cmds_need_lc=yes
10609 if test "$enable_shared" = yes && test "$GCC" = yes; then
10610 case $archive_cmds in
10612 # FIXME: we may have to deal with multi-command sequences.
10615 # Test whether the compiler implicitly links with -lc since on some
10616 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10617 # to ld, don't add -lc before -lgcc.
10618 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10619 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10624 (eval $ac_compile) 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); } 2>conftest.err; then
10630 libobjs=conftest.$ac_objext
10632 wl=$lt_prog_compiler_wl
10633 pic_flag=$lt_prog_compiler_pic
10639 lt_save_allow_undefined_flag=$allow_undefined_flag
10640 allow_undefined_flag=
10641 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10642 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }
10647 archive_cmds_need_lc=no
10649 archive_cmds_need_lc=yes
10651 allow_undefined_flag=$lt_save_allow_undefined_flag
10653 cat conftest.err 1>&5
10656 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10657 echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
10664 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10665 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10666 library_names_spec=
10667 libname_spec='lib$name'
10671 postuninstall_cmds=
10675 shlibpath_overrides_runpath=unknown
10677 dynamic_linker="$host_os ld.so"
10678 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10680 if test "$GCC" = yes; then
10682 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10683 *) lt_awk_arg="/^libraries:/" ;;
10685 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10686 if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
10687 # if the path contains ";" then we assume it to be the separator
10688 # otherwise default to the standard path separator (i.e. ":") - it is
10689 # assumed that no part of a normal pathname contains ";" but that should
10690 # okay in the real world where ";" in dirpaths is itself problematic.
10691 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10693 lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10695 # Ok, now we have the path, separated by spaces, we can step through it
10696 # and add multilib dir if necessary.
10697 lt_tmp_lt_search_path_spec=
10698 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10699 for lt_sys_path in $lt_search_path_spec; do
10700 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10701 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10703 test -d "$lt_sys_path" && \
10704 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10707 lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
10708 BEGIN {RS=" "; FS="/|\n";} {
10711 for (lt_i = NF; lt_i > 0; lt_i--) {
10712 if ($lt_i != "" && $lt_i != ".") {
10713 if ($lt_i == "..") {
10716 if (lt_count == 0) {
10717 lt_foo="/" $lt_i lt_foo;
10724 if (lt_foo != "") { lt_freq[lt_foo]++; }
10725 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10727 sys_lib_search_path_spec=`echo $lt_search_path_spec`
10729 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10731 need_lib_prefix=unknown
10732 hardcode_into_libs=no
10734 # when you set need_version to no, make sure it does not cause -set_version
10735 # flags to be left without arguments
10736 need_version=unknown
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10742 shlibpath_var=LIBPATH
10744 # AIX 3 has no versioning support, so we append a major version to the name.
10745 soname_spec='${libname}${release}${shared_ext}$major'
10752 hardcode_into_libs=yes
10753 if test "$host_cpu" = ia64; then
10754 # AIX 5 supports IA64
10755 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10756 shlibpath_var=LD_LIBRARY_PATH
10758 # With GCC up to 2.95.x, collect2 would create an import file
10759 # for dependence libraries. The import file would start with
10760 # the line `#! .'. This would cause the generated library to
10761 # depend on `.', always an invalid library. This was fixed in
10762 # development snapshots of GCC prior to 3.0.
10764 aix4 | aix4.[01] | aix4.[01].*)
10765 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10767 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
10770 can_build_shared=no
10774 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10775 # soname into executable. Probably we can add versioning support to
10776 # collect2, so additional links can be useful in future.
10777 if test "$aix_use_runtimelinking" = yes; then
10778 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10779 # instead of lib<name>.a to let people know that these are not
10780 # typical AIX shared libraries.
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10783 # We preserve .a as extension for shared libraries through AIX4.2
10784 # and later when we are not doing run time linking.
10785 library_names_spec='${libname}${release}.a $libname.a'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10788 shlibpath_var=LIBPATH
10793 library_names_spec='$libname.ixlibrary $libname.a'
10794 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10795 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'
10799 library_names_spec='${libname}${shared_ext}'
10800 dynamic_linker="$host_os ld.so"
10801 shlibpath_var=LIBRARY_PATH
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10810 shlibpath_var=LD_LIBRARY_PATH
10811 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10812 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10813 # the default ld.so.conf also contains /usr/contrib/lib and
10814 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10815 # libtool to hard-code these into programs
10818 cygwin* | mingw* | pw32*)
10819 version_type=windows
10824 case $GCC,$host_os in
10825 yes,cygwin* | yes,mingw* | yes,pw32*)
10826 library_names_spec='$libname.dll.a'
10827 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10828 postinstall_cmds='base_file=`basename \${file}`~
10829 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
10830 dldir=$destdir/`dirname \$dlpath`~
10831 test -d \$dldir || mkdir -p \$dldir~
10832 $install_prog $dir/$dlname \$dldir/$dlname~
10833 chmod a+x \$dldir/$dlname'
10834 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10835 dlpath=$dir/\$dldll~
10837 shlibpath_overrides_runpath=yes
10841 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10842 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10843 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10846 # MinGW DLLs use traditional 'lib' prefix
10847 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10848 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10849 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
10850 # It is most probably a Windows format PATH printed by
10851 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10852 # path with ; separators, and with drive letters. We can handle the
10853 # drive letters (cygwin fileutils understands them), so leave them,
10854 # especially as we might pass files found there to a mingw objdump,
10855 # which wouldn't understand a cygwinified path. Ahh.
10856 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10858 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10862 # pw32 DLLs use 'pw' prefix rather than 'lib'
10863 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10869 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10872 dynamic_linker='Win32 ld.exe'
10873 # FIXME: first we should search . and the directory the executable is in
10877 darwin* | rhapsody*)
10878 dynamic_linker="$host_os dyld"
10879 version_type=darwin
10882 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10883 soname_spec='${libname}${release}${major}$shared_ext'
10884 shlibpath_overrides_runpath=yes
10885 shlibpath_var=DYLD_LIBRARY_PATH
10886 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10888 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10889 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
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 shlibpath_var=LD_LIBRARY_PATH
10905 freebsd* | dragonfly*)
10906 # DragonFly does not have aout. When/if they implement a new
10907 # versioning mechanism, adjust this.
10908 if test -x /usr/bin/objformat; then
10909 objformat=`/usr/bin/objformat`
10912 freebsd[123]*) objformat=aout ;;
10913 *) objformat=elf ;;
10916 version_type=freebsd-$objformat
10917 case $version_type in
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10928 shlibpath_var=LD_LIBRARY_PATH
10931 shlibpath_overrides_runpath=yes
10933 freebsd3.[01]* | freebsdelf3.[01]*)
10934 shlibpath_overrides_runpath=yes
10935 hardcode_into_libs=yes
10937 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10938 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10939 shlibpath_overrides_runpath=no
10940 hardcode_into_libs=yes
10942 *) # from 4.6 on, and DragonFly
10943 shlibpath_overrides_runpath=yes
10944 hardcode_into_libs=yes
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10954 soname_spec='${libname}${release}${shared_ext}$major'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 hardcode_into_libs=yes
10959 hpux9* | hpux10* | hpux11*)
10960 # Give a soname corresponding to the major version so that dld.sl refuses to
10961 # link against other versions.
10968 hardcode_into_libs=yes
10969 dynamic_linker="$host_os dld.so"
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973 soname_spec='${libname}${release}${shared_ext}$major'
10974 if test "X$HPUX_IA64_MODE" = X32; then
10975 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10977 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10979 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10983 hardcode_into_libs=yes
10984 dynamic_linker="$host_os dld.sl"
10985 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10986 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10988 soname_spec='${libname}${release}${shared_ext}$major'
10989 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10990 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10994 dynamic_linker="$host_os dld.sl"
10995 shlibpath_var=SHLIB_PATH
10996 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998 soname_spec='${libname}${release}${shared_ext}$major'
11001 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11002 postinstall_cmds='chmod 555 $lib'
11009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11010 soname_spec='${libname}${release}${shared_ext}$major'
11011 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 shlibpath_overrides_runpath=no
11014 hardcode_into_libs=yes
11017 irix5* | irix6* | nonstopux*)
11019 nonstopux*) version_type=nonstopux ;;
11021 if test "$lt_cv_prog_gnu_ld" = yes; then
11029 soname_spec='${libname}${release}${shared_ext}$major'
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11032 irix5* | nonstopux*)
11033 libsuff= shlibsuff=
11036 case $LD in # libtool.m4 will add one of these switches to LD
11037 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11038 libsuff= shlibsuff= libmagic=32-bit;;
11039 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11040 libsuff=32 shlibsuff=N32 libmagic=N32;;
11041 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11042 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11043 *) libsuff= shlibsuff= libmagic=never-match;;
11047 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11048 shlibpath_overrides_runpath=no
11049 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11050 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11051 hardcode_into_libs=yes
11054 # No shared lib support for Linux oldld, aout, or coff.
11055 linux*oldld* | linux*aout* | linux*coff*)
11059 # This must be Linux ELF.
11060 linux* | k*bsd*-gnu)
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11065 soname_spec='${libname}${release}${shared_ext}$major'
11066 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 shlibpath_overrides_runpath=no
11069 # This implies no fast_install, which is unacceptable.
11070 # Some rework will be needed to allow for fast_install
11071 # before this can be enabled.
11072 hardcode_into_libs=yes
11074 # Append ld.so.conf contents to the search path
11075 if test -f /etc/ld.so.conf; then
11076 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' ' '`
11077 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11080 # We used to test for /lib/ld.so.1 and disable shared libraries on
11081 # powerpc, because MkLinux only supported shared libraries with the
11082 # GNU dynamic linker. Since this was broken with cross compilers,
11083 # most powerpc-linux boxes support dynamic linking these days and
11084 # people can always --disable-shared, the test was removed, and we
11085 # assume the GNU/Linux dynamic linker is in use.
11086 dynamic_linker='GNU/Linux ld.so'
11093 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11095 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11096 dynamic_linker='NetBSD (a.out) ld.so'
11098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11099 soname_spec='${libname}${release}${shared_ext}$major'
11100 dynamic_linker='NetBSD ld.elf_so'
11102 shlibpath_var=LD_LIBRARY_PATH
11103 shlibpath_overrides_runpath=yes
11104 hardcode_into_libs=yes
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11119 soname_spec='${libname}${release}${shared_ext}$major'
11120 shlibpath_var=LD_LIBRARY_PATH
11121 shlibpath_overrides_runpath=yes
11126 sys_lib_dlsearch_path_spec="/usr/lib"
11128 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11130 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11131 *) need_version=no ;;
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11134 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11135 shlibpath_var=LD_LIBRARY_PATH
11136 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11138 openbsd2.[89] | openbsd2.[89].*)
11139 shlibpath_overrides_runpath=no
11142 shlibpath_overrides_runpath=yes
11146 shlibpath_overrides_runpath=yes
11151 libname_spec='$name'
11154 library_names_spec='$libname${shared_ext} $libname.a'
11155 dynamic_linker='OS/2 ld.exe'
11156 shlibpath_var=LIBPATH
11159 osf3* | osf4* | osf5*)
11163 soname_spec='${libname}${release}${shared_ext}$major'
11164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11165 shlibpath_var=LD_LIBRARY_PATH
11166 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11167 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 soname_spec='${libname}${release}${shared_ext}$major'
11180 shlibpath_var=LD_LIBRARY_PATH
11181 shlibpath_overrides_runpath=yes
11182 hardcode_into_libs=yes
11183 # ldd complains unless libraries are executable
11184 postinstall_cmds='chmod +x $lib'
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11190 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11191 shlibpath_var=LD_LIBRARY_PATH
11192 shlibpath_overrides_runpath=yes
11193 if test "$with_gnu_ld" = yes; then
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 soname_spec='${libname}${release}${shared_ext}$major'
11203 shlibpath_var=LD_LIBRARY_PATH
11204 case $host_vendor in
11206 shlibpath_overrides_runpath=no
11208 export_dynamic_flag_spec='${wl}-Blargedynsym'
11209 runpath_var=LD_RUN_PATH
11217 shlibpath_overrides_runpath=no
11218 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11224 if test -d /usr/nec ;then
11226 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11227 soname_spec='$libname${shared_ext}.$major'
11228 shlibpath_var=LD_LIBRARY_PATH
11232 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11233 version_type=freebsd-elf
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 shlibpath_var=LD_LIBRARY_PATH
11239 hardcode_into_libs=yes
11240 if test "$with_gnu_ld" = yes; then
11241 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11242 shlibpath_overrides_runpath=no
11244 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11245 shlibpath_overrides_runpath=yes
11248 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11252 sys_lib_dlsearch_path_spec='/usr/lib'
11257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11258 soname_spec='${libname}${release}${shared_ext}$major'
11259 shlibpath_var=LD_LIBRARY_PATH
11266 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11267 echo "${ECHO_T}$dynamic_linker" >&6; }
11268 test "$dynamic_linker" = no && can_build_shared=no
11270 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11271 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11276 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11277 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11283 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11285 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11286 if test "$GCC" = yes; then
11287 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11290 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11291 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11293 if test -n "$hardcode_libdir_flag_spec" || \
11294 test -n "$runpath_var" || \
11295 test "X$hardcode_automatic" = "Xyes" ; then
11297 # We can hardcode non-existant directories.
11298 if test "$hardcode_direct" != no &&
11299 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11300 # have to relink, otherwise we might link with an installed library
11301 # when we should be linking with a yet-to-be-installed one
11302 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
11303 test "$hardcode_minus_L" != no; then
11304 # Linking always hardcodes the temporary library directory.
11305 hardcode_action=relink
11307 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11308 hardcode_action=immediate
11311 # We cannot hardcode anything, or else we can only hardcode existing
11313 hardcode_action=unsupported
11315 { echo "$as_me:$LINENO: result: $hardcode_action" >&5
11316 echo "${ECHO_T}$hardcode_action" >&6; }
11318 if test "$hardcode_action" = relink; then
11319 # Fast installation is not supported
11320 enable_fast_install=no
11321 elif test "$shlibpath_overrides_runpath" = yes ||
11322 test "$enable_shared" = no; then
11323 # Fast installation is not necessary
11324 enable_fast_install=needless
11329 { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11330 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11331 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11332 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11333 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11334 { echo "$as_me:$LINENO: result: yes" >&5
11335 echo "${ECHO_T}yes" >&6; }
11337 # FIXME - insert some real tests, host_os isn't really good enough
11340 if test -n "$STRIP" ; then
11341 striplib="$STRIP -x"
11342 old_striplib="$STRIP -S"
11343 { echo "$as_me:$LINENO: result: yes" >&5
11344 echo "${ECHO_T}yes" >&6; }
11346 { echo "$as_me:$LINENO: result: no" >&5
11347 echo "${ECHO_T}no" >&6; }
11351 { echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6; }
11357 if test "x$enable_dlopen" != xyes; then
11358 enable_dlopen=unknown
11359 enable_dlopen_self=unknown
11360 enable_dlopen_self_static=unknown
11367 lt_cv_dlopen="load_add_on"
11369 lt_cv_dlopen_self=yes
11373 lt_cv_dlopen="LoadLibrary"
11378 lt_cv_dlopen="dlopen"
11383 # if libdl is installed we need to link against it
11384 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11385 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11386 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 ac_check_lib_save_LIBS=$LIBS
11391 cat >conftest.$ac_ext <<_ACEOF
11394 cat confdefs.h >>conftest.$ac_ext
11395 cat >>conftest.$ac_ext <<_ACEOF
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11413 rm -f conftest.$ac_objext conftest$ac_exeext
11414 if { (ac_try="$ac_link"
11415 case "(($ac_try" in
11416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_link") 2>conftest.er1
11422 grep -v '^ *+' conftest.er1 >conftest.err
11424 cat conftest.err >&5
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } && {
11427 test -z "$ac_c_werror_flag" ||
11428 test ! -s conftest.err
11429 } && test -s conftest$ac_exeext &&
11430 $as_test_x conftest$ac_exeext; then
11431 ac_cv_lib_dl_dlopen=yes
11433 echo "$as_me: failed program was:" >&5
11434 sed 's/^/| /' conftest.$ac_ext >&5
11436 ac_cv_lib_dl_dlopen=no
11439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_lib_save_LIBS
11443 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11444 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11445 if test $ac_cv_lib_dl_dlopen = yes; then
11446 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11449 lt_cv_dlopen="dyld"
11451 lt_cv_dlopen_self=yes
11458 { echo "$as_me:$LINENO: checking for shl_load" >&5
11459 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
11460 if test "${ac_cv_func_shl_load+set}" = set; then
11461 echo $ECHO_N "(cached) $ECHO_C" >&6
11463 cat >conftest.$ac_ext <<_ACEOF
11466 cat confdefs.h >>conftest.$ac_ext
11467 cat >>conftest.$ac_ext <<_ACEOF
11468 /* end confdefs.h. */
11469 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11471 #define shl_load innocuous_shl_load
11473 /* System header to define __stub macros and hopefully few prototypes,
11474 which can conflict with char shl_load (); below.
11475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11476 <limits.h> exists even on freestanding compilers. */
11479 # include <limits.h>
11481 # include <assert.h>
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11493 /* The GNU C library defines this for functions which it implements
11494 to always fail with ENOSYS. Some functions are actually named
11495 something starting with __ and the normal name is an alias. */
11496 #if defined __stub_shl_load || defined __stub___shl_load
11503 return shl_load ();
11508 rm -f conftest.$ac_objext conftest$ac_exeext
11509 if { (ac_try="$ac_link"
11510 case "(($ac_try" in
11511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11512 *) ac_try_echo=$ac_try;;
11514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11515 (eval "$ac_link") 2>conftest.er1
11517 grep -v '^ *+' conftest.er1 >conftest.err
11519 cat conftest.err >&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); } && {
11522 test -z "$ac_c_werror_flag" ||
11523 test ! -s conftest.err
11524 } && test -s conftest$ac_exeext &&
11525 $as_test_x conftest$ac_exeext; then
11526 ac_cv_func_shl_load=yes
11528 echo "$as_me: failed program was:" >&5
11529 sed 's/^/| /' conftest.$ac_ext >&5
11531 ac_cv_func_shl_load=no
11534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11535 conftest$ac_exeext conftest.$ac_ext
11537 { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11538 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
11539 if test $ac_cv_func_shl_load = yes; then
11540 lt_cv_dlopen="shl_load"
11542 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11543 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
11544 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11545 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 ac_check_lib_save_LIBS=$LIBS
11549 cat >conftest.$ac_ext <<_ACEOF
11552 cat confdefs.h >>conftest.$ac_ext
11553 cat >>conftest.$ac_ext <<_ACEOF
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11566 return shl_load ();
11571 rm -f conftest.$ac_objext conftest$ac_exeext
11572 if { (ac_try="$ac_link"
11573 case "(($ac_try" in
11574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11575 *) ac_try_echo=$ac_try;;
11577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11578 (eval "$ac_link") 2>conftest.er1
11580 grep -v '^ *+' conftest.er1 >conftest.err
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } && {
11585 test -z "$ac_c_werror_flag" ||
11586 test ! -s conftest.err
11587 } && test -s conftest$ac_exeext &&
11588 $as_test_x conftest$ac_exeext; then
11589 ac_cv_lib_dld_shl_load=yes
11591 echo "$as_me: failed program was:" >&5
11592 sed 's/^/| /' conftest.$ac_ext >&5
11594 ac_cv_lib_dld_shl_load=no
11597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11598 conftest$ac_exeext conftest.$ac_ext
11599 LIBS=$ac_check_lib_save_LIBS
11601 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11602 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11603 if test $ac_cv_lib_dld_shl_load = yes; then
11604 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11606 { echo "$as_me:$LINENO: checking for dlopen" >&5
11607 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11608 if test "${ac_cv_func_dlopen+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 cat >conftest.$ac_ext <<_ACEOF
11614 cat confdefs.h >>conftest.$ac_ext
11615 cat >>conftest.$ac_ext <<_ACEOF
11616 /* end confdefs.h. */
11617 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11619 #define dlopen innocuous_dlopen
11621 /* System header to define __stub macros and hopefully few prototypes,
11622 which can conflict with char dlopen (); below.
11623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11624 <limits.h> exists even on freestanding compilers. */
11627 # include <limits.h>
11629 # include <assert.h>
11634 /* Override any GCC internal prototype to avoid an error.
11635 Use char because int might match the return type of a GCC
11636 builtin and then its argument prototype would still apply. */
11641 /* The GNU C library defines this for functions which it implements
11642 to always fail with ENOSYS. Some functions are actually named
11643 something starting with __ and the normal name is an alias. */
11644 #if defined __stub_dlopen || defined __stub___dlopen
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (ac_try="$ac_link"
11658 case "(($ac_try" in
11659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11660 *) ac_try_echo=$ac_try;;
11662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11663 (eval "$ac_link") 2>conftest.er1
11665 grep -v '^ *+' conftest.er1 >conftest.err
11667 cat conftest.err >&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } && {
11670 test -z "$ac_c_werror_flag" ||
11671 test ! -s conftest.err
11672 } && test -s conftest$ac_exeext &&
11673 $as_test_x conftest$ac_exeext; then
11674 ac_cv_func_dlopen=yes
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_cv_func_dlopen=no
11682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11683 conftest$ac_exeext conftest.$ac_ext
11685 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11686 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11687 if test $ac_cv_func_dlopen = yes; then
11688 lt_cv_dlopen="dlopen"
11690 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11691 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11692 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 ac_check_lib_save_LIBS=$LIBS
11697 cat >conftest.$ac_ext <<_ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (ac_try="$ac_link"
11721 case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_link") 2>conftest.er1
11728 grep -v '^ *+' conftest.er1 >conftest.err
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } && {
11733 test -z "$ac_c_werror_flag" ||
11734 test ! -s conftest.err
11735 } && test -s conftest$ac_exeext &&
11736 $as_test_x conftest$ac_exeext; then
11737 ac_cv_lib_dl_dlopen=yes
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 ac_cv_lib_dl_dlopen=no
11745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_lib_save_LIBS
11749 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11750 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11751 if test $ac_cv_lib_dl_dlopen = yes; then
11752 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11754 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11755 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
11756 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 ac_check_lib_save_LIBS=$LIBS
11760 LIBS="-lsvld $LIBS"
11761 cat >conftest.$ac_ext <<_ACEOF
11764 cat confdefs.h >>conftest.$ac_ext
11765 cat >>conftest.$ac_ext <<_ACEOF
11766 /* end confdefs.h. */
11768 /* Override any GCC internal prototype to avoid an error.
11769 Use char because int might match the return type of a GCC
11770 builtin and then its argument prototype would still apply. */
11783 rm -f conftest.$ac_objext conftest$ac_exeext
11784 if { (ac_try="$ac_link"
11785 case "(($ac_try" in
11786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11787 *) ac_try_echo=$ac_try;;
11789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11790 (eval "$ac_link") 2>conftest.er1
11792 grep -v '^ *+' conftest.er1 >conftest.err
11794 cat conftest.err >&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); } && {
11797 test -z "$ac_c_werror_flag" ||
11798 test ! -s conftest.err
11799 } && test -s conftest$ac_exeext &&
11800 $as_test_x conftest$ac_exeext; then
11801 ac_cv_lib_svld_dlopen=yes
11803 echo "$as_me: failed program was:" >&5
11804 sed 's/^/| /' conftest.$ac_ext >&5
11806 ac_cv_lib_svld_dlopen=no
11809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_lib_save_LIBS
11813 { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11814 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11815 if test $ac_cv_lib_svld_dlopen = yes; then
11816 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11818 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11819 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11820 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11821 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 ac_check_lib_save_LIBS=$LIBS
11825 cat >conftest.$ac_ext <<_ACEOF
11828 cat confdefs.h >>conftest.$ac_ext
11829 cat >>conftest.$ac_ext <<_ACEOF
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11842 return dld_link ();
11847 rm -f conftest.$ac_objext conftest$ac_exeext
11848 if { (ac_try="$ac_link"
11849 case "(($ac_try" in
11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11851 *) ac_try_echo=$ac_try;;
11853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11854 (eval "$ac_link") 2>conftest.er1
11856 grep -v '^ *+' conftest.er1 >conftest.err
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest$ac_exeext &&
11864 $as_test_x conftest$ac_exeext; then
11865 ac_cv_lib_dld_dld_link=yes
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.$ac_ext >&5
11870 ac_cv_lib_dld_dld_link=no
11873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11874 conftest$ac_exeext conftest.$ac_ext
11875 LIBS=$ac_check_lib_save_LIBS
11877 { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11878 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11879 if test $ac_cv_lib_dld_dld_link = yes; then
11880 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11901 if test "x$lt_cv_dlopen" != xno; then
11907 case $lt_cv_dlopen in
11909 save_CPPFLAGS="$CPPFLAGS"
11910 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11912 save_LDFLAGS="$LDFLAGS"
11913 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11916 LIBS="$lt_cv_dlopen_libs $LIBS"
11918 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11919 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11920 if test "${lt_cv_dlopen_self+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 if test "$cross_compiling" = yes; then :
11924 lt_cv_dlopen_self=cross
11926 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11927 lt_status=$lt_dlunknown
11928 cat > conftest.$ac_ext <<EOF
11929 #line __oline__ "configure"
11930 #include "confdefs.h"
11939 # define LT_DLGLOBAL RTLD_GLOBAL
11942 # define LT_DLGLOBAL DL_GLOBAL
11944 # define LT_DLGLOBAL 0
11948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11949 find out it does not work in some platform. */
11950 #ifndef LT_DLLAZY_OR_NOW
11952 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11955 # define LT_DLLAZY_OR_NOW DL_LAZY
11958 # define LT_DLLAZY_OR_NOW RTLD_NOW
11961 # define LT_DLLAZY_OR_NOW DL_NOW
11963 # define LT_DLLAZY_OR_NOW 0
11971 extern "C" void exit (int);
11974 void fnord() { int i=42;}
11977 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11978 int status = $lt_dlunknown;
11982 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11983 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11984 /* dlclose (self); */
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993 (eval $ac_link) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11997 (./conftest; exit; ) >&5 2>/dev/null
11999 case x$lt_status in
12000 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12001 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12002 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12005 # compilation failed
12006 lt_cv_dlopen_self=no
12013 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12014 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12016 if test "x$lt_cv_dlopen_self" = xyes; then
12017 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12018 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12019 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12020 if test "${lt_cv_dlopen_self_static+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 if test "$cross_compiling" = yes; then :
12024 lt_cv_dlopen_self_static=cross
12026 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12027 lt_status=$lt_dlunknown
12028 cat > conftest.$ac_ext <<EOF
12029 #line __oline__ "configure"
12030 #include "confdefs.h"
12039 # define LT_DLGLOBAL RTLD_GLOBAL
12042 # define LT_DLGLOBAL DL_GLOBAL
12044 # define LT_DLGLOBAL 0
12048 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12049 find out it does not work in some platform. */
12050 #ifndef LT_DLLAZY_OR_NOW
12052 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12055 # define LT_DLLAZY_OR_NOW DL_LAZY
12058 # define LT_DLLAZY_OR_NOW RTLD_NOW
12061 # define LT_DLLAZY_OR_NOW DL_NOW
12063 # define LT_DLLAZY_OR_NOW 0
12071 extern "C" void exit (int);
12074 void fnord() { int i=42;}
12077 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12078 int status = $lt_dlunknown;
12082 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12083 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12084 /* dlclose (self); */
12092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12093 (eval $ac_link) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12097 (./conftest; exit; ) >&5 2>/dev/null
12099 case x$lt_status in
12100 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12101 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12102 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12105 # compilation failed
12106 lt_cv_dlopen_self_static=no
12113 { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12114 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12117 CPPFLAGS="$save_CPPFLAGS"
12118 LDFLAGS="$save_LDFLAGS"
12123 case $lt_cv_dlopen_self in
12124 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12125 *) enable_dlopen_self=unknown ;;
12128 case $lt_cv_dlopen_self_static in
12129 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12130 *) enable_dlopen_self_static=unknown ;;
12135 # Report which library types will actually be built
12136 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12137 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12138 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
12139 echo "${ECHO_T}$can_build_shared" >&6; }
12141 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12142 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12143 test "$can_build_shared" = "no" && enable_shared=no
12145 # On AIX, shared libraries and static libraries use the same namespace, and
12146 # are all built from PIC.
12149 test "$enable_shared" = yes && enable_static=no
12150 if test -n "$RANLIB"; then
12151 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12152 postinstall_cmds='$RANLIB $lib'
12157 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12158 test "$enable_shared" = yes && enable_static=no
12162 { echo "$as_me:$LINENO: result: $enable_shared" >&5
12163 echo "${ECHO_T}$enable_shared" >&6; }
12165 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12166 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12167 # Make sure either enable_shared or enable_static is yes.
12168 test "$enable_shared" = yes || enable_static=yes
12169 { echo "$as_me:$LINENO: result: $enable_static" >&5
12170 echo "${ECHO_T}$enable_static" >&6; }
12172 # The else clause should only fire when bootstrapping the
12173 # libtool distribution, otherwise you forgot to ship ltmain.sh
12174 # with your package, and you will get complaints that there are
12175 # no rules to generate ltmain.sh.
12176 if test -f "$ltmain"; then
12177 # See if we are running on zsh, and set the options which allow our commands through
12178 # without removal of \ escapes.
12179 if test -n "${ZSH_VERSION+set}" ; then
12180 setopt NO_GLOB_SUBST
12182 # Now quote all the things that may contain metacharacters while being
12183 # careful not to overquote the AC_SUBSTed values. We take copies of the
12184 # variables and quote the copies for generation of the libtool script.
12185 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
12187 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12188 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12189 deplibs_check_method reload_flag reload_cmds need_locks \
12190 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12191 lt_cv_sys_global_symbol_to_c_name_address \
12192 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12193 old_postinstall_cmds old_postuninstall_cmds \
12197 lt_prog_compiler_wl \
12198 lt_prog_compiler_pic \
12199 lt_prog_compiler_static \
12200 lt_prog_compiler_no_builtin_flag \
12201 export_dynamic_flag_spec \
12202 thread_safe_flag_spec \
12203 whole_archive_flag_spec \
12204 enable_shared_with_static_runtimes \
12206 old_archive_from_new_cmds \
12211 compiler_lib_search_path \
12212 compiler_lib_search_dirs \
12214 archive_expsym_cmds \
12216 postuninstall_cmds \
12217 old_archive_from_expsyms_cmds \
12218 allow_undefined_flag \
12219 no_undefined_flag \
12220 export_symbols_cmds \
12221 hardcode_libdir_flag_spec \
12222 hardcode_libdir_flag_spec_ld \
12223 hardcode_libdir_separator \
12224 hardcode_automatic \
12226 module_expsym_cmds \
12227 lt_cv_prog_compiler_c_o \
12230 include_expsyms; do
12233 old_archive_cmds | \
12234 old_archive_from_new_cmds | \
12236 archive_expsym_cmds | \
12238 module_expsym_cmds | \
12239 old_archive_from_expsyms_cmds | \
12240 export_symbols_cmds | \
12241 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12242 postinstall_cmds | postuninstall_cmds | \
12243 old_postinstall_cmds | old_postuninstall_cmds | \
12244 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12245 # Double-quote double-evaled strings.
12246 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12249 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12255 *'\$0 --fallback-echo"')
12256 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12260 cfgfile="${ofile}T"
12261 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
12263 { echo "$as_me:$LINENO: creating $ofile" >&5
12264 echo "$as_me: creating $ofile" >&6;}
12266 cat <<__EOF__ >> "$cfgfile"
12269 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12270 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
12271 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12273 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
12274 # Free Software Foundation, Inc.
12276 # This file is part of GNU Libtool:
12277 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12279 # This program is free software; you can redistribute it and/or modify
12280 # it under the terms of the GNU General Public License as published by
12281 # the Free Software Foundation; either version 2 of the License, or
12282 # (at your option) any later version.
12284 # This program is distributed in the hope that it will be useful, but
12285 # WITHOUT ANY WARRANTY; without even the implied warranty of
12286 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12287 # General Public License for more details.
12289 # You should have received a copy of the GNU General Public License
12290 # along with this program; if not, write to the Free Software
12291 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12293 # As a special exception to the GNU General Public License, if you
12294 # distribute this file as part of a program that contains a
12295 # configuration script generated by Autoconf, you may include it under
12296 # the same distribution terms that you use for the rest of that program.
12298 # A sed program that does not truncate output.
12301 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12302 Xsed="$SED -e 1s/^X//"
12304 # The HP-UX ksh and POSIX shell print the target directory to stdout
12305 # if CDPATH is set.
12306 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12308 # The names of the tagged configurations supported by this script.
12311 # ### BEGIN LIBTOOL CONFIG
12313 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12315 # Shell to use when invoking shell scripts.
12318 # Whether or not to build shared libraries.
12319 build_libtool_libs=$enable_shared
12321 # Whether or not to build static libraries.
12322 build_old_libs=$enable_static
12324 # Whether or not to add -lc for building shared libraries.
12325 build_libtool_need_lc=$archive_cmds_need_lc
12327 # Whether or not to disallow shared libs when runtime libs are static
12328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12330 # Whether or not to optimize for fast installation.
12331 fast_install=$enable_fast_install
12334 host_alias=$host_alias
12338 # The build system.
12339 build_alias=$build_alias
12343 # An echo program that does not interpret backslashes.
12348 AR_FLAGS=$lt_AR_FLAGS
12353 # LTCC compiler flags.
12354 LTCFLAGS=$lt_LTCFLAGS
12356 # A language-specific compiler.
12359 # Is the compiler the GNU C compiler?
12365 # The linker used to build libraries.
12368 # Whether we need hard or soft links.
12371 # A BSD-compatible nm program.
12374 # A symbol stripping program
12377 # Used to examine libraries when file_magic_cmd begins "file"
12378 MAGIC_CMD=$MAGIC_CMD
12380 # Used on cygwin: DLL creation program.
12383 # Used on cygwin: object dumper.
12386 # Used on cygwin: assembler.
12389 # The name of the directory that contains temporary libtool files.
12392 # How to create reloadable object files.
12393 reload_flag=$lt_reload_flag
12394 reload_cmds=$lt_reload_cmds
12396 # How to pass a linker flag through the compiler.
12397 wl=$lt_lt_prog_compiler_wl
12399 # Object file suffix (normally "o").
12400 objext="$ac_objext"
12402 # Old archive suffix (normally "a").
12405 # Shared library suffix (normally ".so").
12406 shrext_cmds='$shrext_cmds'
12408 # Executable file suffix (normally "").
12411 # Additional compiler flags for building library objects.
12412 pic_flag=$lt_lt_prog_compiler_pic
12415 # What is the maximum length of a command?
12416 max_cmd_len=$lt_cv_sys_max_cmd_len
12418 # Does compiler simultaneously support -c and -o options?
12419 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12421 # Must we lock files when doing compilation?
12422 need_locks=$lt_need_locks
12424 # Do we need the lib prefix for modules?
12425 need_lib_prefix=$need_lib_prefix
12427 # Do we need a version for libraries?
12428 need_version=$need_version
12430 # Whether dlopen is supported.
12431 dlopen_support=$enable_dlopen
12433 # Whether dlopen of programs is supported.
12434 dlopen_self=$enable_dlopen_self
12436 # Whether dlopen of statically linked programs is supported.
12437 dlopen_self_static=$enable_dlopen_self_static
12439 # Compiler flag to prevent dynamic linking.
12440 link_static_flag=$lt_lt_prog_compiler_static
12442 # Compiler flag to turn off builtin functions.
12443 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12445 # Compiler flag to allow reflexive dlopens.
12446 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12448 # Compiler flag to generate shared objects directly from archives.
12449 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12451 # Compiler flag to generate thread-safe objects.
12452 thread_safe_flag_spec=$lt_thread_safe_flag_spec
12454 # Library versioning type.
12455 version_type=$version_type
12457 # Format of library name prefix.
12458 libname_spec=$lt_libname_spec
12460 # List of archive names. First name is the real one, the rest are links.
12461 # The last name is the one that the linker finds with -lNAME.
12462 library_names_spec=$lt_library_names_spec
12464 # The coded name of the library, if different from the real name.
12465 soname_spec=$lt_soname_spec
12467 # Commands used to build and install an old-style archive.
12469 old_archive_cmds=$lt_old_archive_cmds
12470 old_postinstall_cmds=$lt_old_postinstall_cmds
12471 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12473 # Create an old-style archive from a shared archive.
12474 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12476 # Create a temporary old-style archive to link instead of a shared archive.
12477 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12479 # Commands used to build and install a shared archive.
12480 archive_cmds=$lt_archive_cmds
12481 archive_expsym_cmds=$lt_archive_expsym_cmds
12482 postinstall_cmds=$lt_postinstall_cmds
12483 postuninstall_cmds=$lt_postuninstall_cmds
12485 # Commands used to build a loadable module (assumed same as above if empty)
12486 module_cmds=$lt_module_cmds
12487 module_expsym_cmds=$lt_module_expsym_cmds
12489 # Commands to strip libraries.
12490 old_striplib=$lt_old_striplib
12491 striplib=$lt_striplib
12493 # Dependencies to place before the objects being linked to create a
12495 predep_objects=$lt_predep_objects
12497 # Dependencies to place after the objects being linked to create a
12499 postdep_objects=$lt_postdep_objects
12501 # Dependencies to place before the objects being linked to create a
12503 predeps=$lt_predeps
12505 # Dependencies to place after the objects being linked to create a
12507 postdeps=$lt_postdeps
12509 # The directories searched by this compiler when creating a shared
12511 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
12513 # The library search path used internally by the compiler when linking
12514 # a shared library.
12515 compiler_lib_search_path=$lt_compiler_lib_search_path
12517 # Method to check whether dependent libraries are shared objects.
12518 deplibs_check_method=$lt_deplibs_check_method
12520 # Command to use when deplibs_check_method == file_magic.
12521 file_magic_cmd=$lt_file_magic_cmd
12523 # Flag that allows shared libraries with undefined symbols to be built.
12524 allow_undefined_flag=$lt_allow_undefined_flag
12526 # Flag that forces no undefined symbols.
12527 no_undefined_flag=$lt_no_undefined_flag
12529 # Commands used to finish a libtool library installation in a directory.
12530 finish_cmds=$lt_finish_cmds
12532 # Same as above, but a single script fragment to be evaled but not shown.
12533 finish_eval=$lt_finish_eval
12535 # Take the output of nm and produce a listing of raw symbols and C names.
12536 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12538 # Transform the output of nm in a proper C declaration
12539 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12541 # Transform the output of nm in a C name address pair
12542 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12544 # This is the shared library runtime path variable.
12545 runpath_var=$runpath_var
12547 # This is the shared library path variable.
12548 shlibpath_var=$shlibpath_var
12550 # Is shlibpath searched before the hard-coded library search path?
12551 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12553 # How to hardcode a shared library path into an executable.
12554 hardcode_action=$hardcode_action
12556 # Whether we should hardcode library paths into libraries.
12557 hardcode_into_libs=$hardcode_into_libs
12559 # Flag to hardcode \$libdir into a binary during linking.
12560 # This must work even if \$libdir does not exist.
12561 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12563 # If ld is used when linking, flag to hardcode \$libdir into
12564 # a binary during linking. This must work even if \$libdir does
12566 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12568 # Whether we need a single -rpath flag with a separated argument.
12569 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12571 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12572 # resulting binary.
12573 hardcode_direct=$hardcode_direct
12575 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12576 # resulting binary.
12577 hardcode_minus_L=$hardcode_minus_L
12579 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12580 # the resulting binary.
12581 hardcode_shlibpath_var=$hardcode_shlibpath_var
12583 # Set to yes if building a shared library automatically hardcodes DIR into the library
12584 # and all subsequent libraries and executables linked against it.
12585 hardcode_automatic=$hardcode_automatic
12587 # Variables whose values should be saved in libtool wrapper scripts and
12588 # restored at relink time.
12589 variables_saved_for_relink="$variables_saved_for_relink"
12591 # Whether libtool must link a program against all its dependency libraries.
12592 link_all_deplibs=$link_all_deplibs
12594 # Compile-time system search path for libraries
12595 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12597 # Run-time system search path for libraries
12598 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12600 # Fix the shell variable \$srcfile for the compiler.
12601 fix_srcfile_path=$lt_fix_srcfile_path
12603 # Set to yes if exported symbols are required.
12604 always_export_symbols=$always_export_symbols
12606 # The commands to list exported symbols.
12607 export_symbols_cmds=$lt_export_symbols_cmds
12609 # The commands to extract the exported symbol list from a shared archive.
12610 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12612 # Symbols that should not be listed in the preloaded symbols.
12613 exclude_expsyms=$lt_exclude_expsyms
12615 # Symbols that must always be exported.
12616 include_expsyms=$lt_include_expsyms
12618 # ### END LIBTOOL CONFIG
12625 cat <<\EOF >> "$cfgfile"
12627 # AIX sometimes has problems with the GCC collect2 program. For some
12628 # reason, if we set the COLLECT_NAMES environment variable, the problems
12629 # vanish in a puff of smoke.
12630 if test "X${COLLECT_NAMES+set}" != Xset; then
12632 export COLLECT_NAMES
12638 # We use sed instead of cat because bash on DJGPP gets confused if
12639 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12640 # text mode, it properly converts lines to CR/LF. This bash problem
12641 # is reportedly fixed, but why not run on old versions too?
12642 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12644 mv -f "$cfgfile" "$ofile" || \
12645 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12649 # If there is no Makefile yet, we rely on a make rule to execute
12650 # `config.status --recheck' to rerun these tests and create the
12651 # libtool script then.
12652 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12653 if test -f "$ltmain_in"; then
12654 test -f Makefile && make "$ltmain"
12660 ac_cpp='$CPP $CPPFLAGS'
12661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12668 # Check whether --with-tags was given.
12669 if test "${with_tags+set}" = set; then
12670 withval=$with_tags; tagnames="$withval"
12674 if test -f "$ltmain" && test -n "$tagnames"; then
12675 if test ! -f "${ofile}"; then
12676 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12677 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12680 if test -z "$LTCC"; then
12681 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12682 if test -z "$LTCC"; then
12683 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12684 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12687 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12690 if test -z "$LTCFLAGS"; then
12691 eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12694 # Extract list of available tagged configurations in $ofile.
12695 # Note that this assumes the entire list is on one line.
12696 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12698 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12699 for tagname in $tagnames; do
12701 # Check whether tagname contains only valid characters
12702 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12704 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12705 echo "$as_me: error: invalid tag name: $tagname" >&2;}
12706 { (exit 1); exit 1; }; }
12710 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12712 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12713 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12714 { (exit 1); exit 1; }; }
12717 # Update the list of available tags.
12718 if test -n "$tagname"; then
12719 echo appending configuration tag \"$tagname\" to $ofile
12723 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12724 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12725 (test "X$CXX" != "Xg++"))) ; then
12727 ac_cpp='$CXXCPP $CPPFLAGS'
12728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12735 archive_cmds_need_lc_CXX=no
12736 allow_undefined_flag_CXX=
12737 always_export_symbols_CXX=no
12738 archive_expsym_cmds_CXX=
12739 export_dynamic_flag_spec_CXX=
12740 hardcode_direct_CXX=no
12741 hardcode_libdir_flag_spec_CXX=
12742 hardcode_libdir_flag_spec_ld_CXX=
12743 hardcode_libdir_separator_CXX=
12744 hardcode_minus_L_CXX=no
12745 hardcode_shlibpath_var_CXX=unsupported
12746 hardcode_automatic_CXX=no
12748 module_expsym_cmds_CXX=
12749 link_all_deplibs_CXX=unknown
12750 old_archive_cmds_CXX=$old_archive_cmds
12751 no_undefined_flag_CXX=
12752 whole_archive_flag_spec_CXX=
12753 enable_shared_with_static_runtimes_CXX=no
12755 # Dependencies to place before and after the object being linked:
12756 predep_objects_CXX=
12757 postdep_objects_CXX=
12760 compiler_lib_search_path_CXX=
12761 compiler_lib_search_dirs_CXX=
12763 # Source file extension for C++ test sources.
12766 # Object file extension for compiled C++ test sources.
12770 # Code to be used in simple compile tests
12771 lt_simple_compile_test_code="int some_variable = 0;"
12773 # Code to be used in simple link tests
12774 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12776 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12778 # If no C compiler was specified, use CC.
12781 # If no C compiler flags were specified, use CFLAGS.
12782 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12784 # Allow CC to be a program name with arguments.
12788 # save warnings/boilerplate of simple test code
12789 ac_outfile=conftest.$ac_objext
12790 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12791 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12792 _lt_compiler_boilerplate=`cat conftest.err`
12795 ac_outfile=conftest.$ac_objext
12796 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12797 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12798 _lt_linker_boilerplate=`cat conftest.err`
12802 # Allow CC to be a program name with arguments.
12807 lt_save_with_gnu_ld=$with_gnu_ld
12808 lt_save_path_LD=$lt_cv_path_LD
12809 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12810 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12812 $as_unset lt_cv_prog_gnu_ld
12814 if test -n "${lt_cv_path_LDCXX+set}"; then
12815 lt_cv_path_LD=$lt_cv_path_LDCXX
12817 $as_unset lt_cv_path_LD
12819 test -z "${LDCXX+set}" || LD=$LDCXX
12823 for cc_temp in $compiler""; do
12825 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12826 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12831 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12834 # We don't want -fno-exception wen compiling C++ code, so set the
12835 # no_builtin_flag separately
12836 if test "$GXX" = yes; then
12837 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12839 lt_prog_compiler_no_builtin_flag_CXX=
12842 if test "$GXX" = yes; then
12843 # Set up default GNU C++ configuration
12846 # Check whether --with-gnu-ld was given.
12847 if test "${with_gnu_ld+set}" = set; then
12848 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12854 if test "$GCC" = yes; then
12855 # Check if gcc -print-prog-name=ld gives a path.
12856 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12857 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12860 # gcc leaves a trailing carriage return which upsets mingw
12861 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12863 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12866 # Accept absolute paths.
12868 re_direlt='/[^/][^/]*/\.\./'
12869 # Canonicalize the pathname of ld
12870 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12871 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12872 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12874 test -z "$LD" && LD="$ac_prog"
12877 # If it fails, then pretend we aren't using GCC.
12881 # If it is relative, then search for the first ld in PATH.
12882 with_gnu_ld=unknown
12885 elif test "$with_gnu_ld" = yes; then
12886 { echo "$as_me:$LINENO: checking for GNU ld" >&5
12887 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12889 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12890 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12892 if test "${lt_cv_path_LD+set}" = set; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 if test -z "$LD"; then
12896 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12897 for ac_dir in $PATH; do
12899 test -z "$ac_dir" && ac_dir=.
12900 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12901 lt_cv_path_LD="$ac_dir/$ac_prog"
12902 # Check to see if the program is GNU ld. I'd rather use --version,
12903 # but apparently some variants of GNU ld only accept -v.
12904 # Break only if it was the GNU/non-GNU ld that we prefer.
12905 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12906 *GNU* | *'with BFD'*)
12907 test "$with_gnu_ld" != no && break
12910 test "$with_gnu_ld" != yes && break
12917 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12921 LD="$lt_cv_path_LD"
12922 if test -n "$LD"; then
12923 { echo "$as_me:$LINENO: result: $LD" >&5
12924 echo "${ECHO_T}$LD" >&6; }
12926 { echo "$as_me:$LINENO: result: no" >&5
12927 echo "${ECHO_T}no" >&6; }
12929 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12930 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12931 { (exit 1); exit 1; }; }
12932 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12933 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12934 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12937 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12938 case `$LD -v 2>&1 </dev/null` in
12939 *GNU* | *'with BFD'*)
12940 lt_cv_prog_gnu_ld=yes
12943 lt_cv_prog_gnu_ld=no
12947 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12948 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12949 with_gnu_ld=$lt_cv_prog_gnu_ld
12953 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12954 # archiving commands below assume that GNU ld is being used.
12955 if test "$with_gnu_ld" = yes; then
12956 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12957 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'
12959 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12960 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12962 # If archive_cmds runs LD, not CC, wlarc should be empty
12963 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12964 # investigate it a little bit more. (MM)
12967 # ancient GNU ld didn't support --whole-archive et. al.
12968 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12969 grep 'no-whole-archive' > /dev/null; then
12970 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12972 whole_archive_flag_spec_CXX=
12978 # A generic and very simple default shared library creation
12979 # command for GNU C++ for the case where it uses the native
12980 # linker, instead of GNU ld. If possible, this setting should
12981 # overridden to take advantage of the native linker features on
12982 # the platform it is being used on.
12983 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12986 # Commands to make compiler produce verbose output that lists
12987 # what "hidden" libraries, object files and flags are used when
12988 # linking a shared library.
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12997 # PORTME: fill in a description of your system's C++ link characteristics
12998 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12999 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13003 # FIXME: insert proper C++ library support
13007 if test "$host_cpu" = ia64; then
13008 # On IA64, the linker does run time linking by default, so we don't
13009 # have to do anything special.
13010 aix_use_runtimelinking=no
13011 exp_sym_flag='-Bexport'
13014 aix_use_runtimelinking=no
13016 # Test if we are trying to use run time linking or normal
13017 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13018 # need to do runtime linking.
13019 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13020 for ld_flag in $LDFLAGS; do
13023 aix_use_runtimelinking=yes
13031 exp_sym_flag='-bexport'
13032 no_entry_flag='-bnoentry'
13035 # When large executables or shared objects are built, AIX ld can
13036 # have problems creating the table of contents. If linking a library
13037 # or program results in "error TOC overflow" add -mminimal-toc to
13038 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13039 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13041 archive_cmds_CXX=''
13042 hardcode_direct_CXX=yes
13043 hardcode_libdir_separator_CXX=':'
13044 link_all_deplibs_CXX=yes
13046 if test "$GXX" = yes; then
13047 case $host_os in aix4.[012]|aix4.[012].*)
13048 # We only want to do this on AIX 4.2 and lower, the check
13049 # below for broken collect2 doesn't work under 4.3+
13050 collect2name=`${CC} -print-prog-name=collect2`
13051 if test -f "$collect2name" && \
13052 strings "$collect2name" | grep resolve_lib_name >/dev/null
13054 # We have reworked collect2
13057 # We have old collect2
13058 hardcode_direct_CXX=unsupported
13059 # It fails to find uninstalled libraries when the uninstalled
13060 # path is not listed in the libpath. Setting hardcode_minus_L
13061 # to unsupported forces relinking
13062 hardcode_minus_L_CXX=yes
13063 hardcode_libdir_flag_spec_CXX='-L$libdir'
13064 hardcode_libdir_separator_CXX=
13068 shared_flag='-shared'
13069 if test "$aix_use_runtimelinking" = yes; then
13070 shared_flag="$shared_flag "'${wl}-G'
13074 if test "$host_cpu" = ia64; then
13075 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13076 # chokes on -Wl,-G. The following line is correct:
13079 if test "$aix_use_runtimelinking" = yes; then
13080 shared_flag='${wl}-G'
13082 shared_flag='${wl}-bM:SRE'
13087 # It seems that -bexpall does not export symbols beginning with
13088 # underscore (_), so it is better to generate a list of symbols to export.
13089 always_export_symbols_CXX=yes
13090 if test "$aix_use_runtimelinking" = yes; then
13091 # Warning - without using the other runtime loading flags (-brtl),
13092 # -berok will link without error, but may produce a broken library.
13093 allow_undefined_flag_CXX='-berok'
13094 # Determine the default libpath from the value encoded in an empty executable.
13095 cat >conftest.$ac_ext <<_ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13110 rm -f conftest.$ac_objext conftest$ac_exeext
13111 if { (ac_try="$ac_link"
13112 case "(($ac_try" in
13113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13114 *) ac_try_echo=$ac_try;;
13116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13117 (eval "$ac_link") 2>conftest.er1
13119 grep -v '^ *+' conftest.er1 >conftest.err
13121 cat conftest.err >&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); } && {
13124 test -z "$ac_cxx_werror_flag" ||
13125 test ! -s conftest.err
13126 } && test -s conftest$ac_exeext &&
13127 $as_test_x conftest$ac_exeext; then
13129 lt_aix_libpath_sed='
13130 /Import File Strings/,/^$/ {
13136 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13137 # Check for a 64-bit object if we didn't find anything.
13138 if test -z "$aix_libpath"; then
13139 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.$ac_ext >&5
13148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13149 conftest$ac_exeext conftest.$ac_ext
13150 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13152 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13154 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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13156 if test "$host_cpu" = ia64; then
13157 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13158 allow_undefined_flag_CXX="-z nodefs"
13159 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"
13161 # Determine the default libpath from the value encoded in an empty executable.
13162 cat >conftest.$ac_ext <<_ACEOF
13165 cat confdefs.h >>conftest.$ac_ext
13166 cat >>conftest.$ac_ext <<_ACEOF
13167 /* end confdefs.h. */
13177 rm -f conftest.$ac_objext conftest$ac_exeext
13178 if { (ac_try="$ac_link"
13179 case "(($ac_try" in
13180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13181 *) ac_try_echo=$ac_try;;
13183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13184 (eval "$ac_link") 2>conftest.er1
13186 grep -v '^ *+' conftest.er1 >conftest.err
13188 cat conftest.err >&5
13189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13190 (exit $ac_status); } && {
13191 test -z "$ac_cxx_werror_flag" ||
13192 test ! -s conftest.err
13193 } && test -s conftest$ac_exeext &&
13194 $as_test_x conftest$ac_exeext; then
13196 lt_aix_libpath_sed='
13197 /Import File Strings/,/^$/ {
13203 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13204 # Check for a 64-bit object if we didn't find anything.
13205 if test -z "$aix_libpath"; then
13206 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13216 conftest$ac_exeext conftest.$ac_ext
13217 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13219 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13220 # Warning - without using the other run time loading flags,
13221 # -berok will link without error, but may produce a broken library.
13222 no_undefined_flag_CXX=' ${wl}-bernotok'
13223 allow_undefined_flag_CXX=' ${wl}-berok'
13224 # Exported symbols can be pulled into shared objects from archives
13225 whole_archive_flag_spec_CXX='$convenience'
13226 archive_cmds_need_lc_CXX=yes
13227 # This is similar to how AIX traditionally builds its shared libraries.
13228 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'
13234 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13235 allow_undefined_flag_CXX=unsupported
13236 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13237 # support --undefined. This deserves some investigation. FIXME
13238 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13245 case $cc_basename in
13247 # FIXME: insert proper C++ library support
13253 cygwin* | mingw* | pw32*)
13254 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13255 # as there is no search path for DLLs.
13256 hardcode_libdir_flag_spec_CXX='-L$libdir'
13257 allow_undefined_flag_CXX=unsupported
13258 always_export_symbols_CXX=no
13259 enable_shared_with_static_runtimes_CXX=yes
13261 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13262 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'
13263 # If the export-symbols file already is a .def file (1st line
13264 # is EXPORTS), use it as is; otherwise, prepend...
13265 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13266 cp $export_symbols $output_objdir/$soname.def;
13268 echo EXPORTS > $output_objdir/$soname.def;
13269 cat $export_symbols >> $output_objdir/$soname.def;
13271 $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'
13276 darwin* | rhapsody*)
13277 archive_cmds_need_lc_CXX=no
13278 hardcode_direct_CXX=no
13279 hardcode_automatic_CXX=yes
13280 hardcode_shlibpath_var_CXX=unsupported
13281 whole_archive_flag_spec_CXX=''
13282 link_all_deplibs_CXX=yes
13283 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13284 if test "$GXX" = yes ; then
13285 output_verbose_link_cmd='echo'
13286 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}"
13287 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13288 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}"
13289 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}"
13290 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13291 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}"
13292 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}"
13295 case $cc_basename in
13297 output_verbose_link_cmd='echo'
13298 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13299 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13300 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13301 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13302 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13312 case $cc_basename in
13314 # FIXME: insert proper C++ library support
13318 # Green Hills C++ Compiler
13319 # FIXME: insert proper C++ library support
13323 # FIXME: insert proper C++ library support
13329 # C++ shared libraries reported to be fairly broken before switch to ELF
13333 archive_cmds_need_lc_CXX=no
13335 freebsd* | dragonfly*)
13336 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13343 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13344 hardcode_libdir_separator_CXX=:
13345 export_dynamic_flag_spec_CXX='${wl}-E'
13346 hardcode_direct_CXX=yes
13347 hardcode_minus_L_CXX=yes # Not in the search PATH,
13348 # but as the default
13349 # location of the library.
13351 case $cc_basename in
13353 # FIXME: insert proper C++ library support
13357 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'
13358 # Commands to make compiler produce verbose output that lists
13359 # what "hidden" libraries, object files and flags are used when
13360 # linking a shared library.
13362 # There doesn't appear to be a way to prevent this compiler from
13363 # explicitly linking system object files so we need to strip them
13364 # from the output so that they don't get included in the library
13366 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 $list'
13369 if test "$GXX" = yes; then
13370 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'
13372 # FIXME: insert proper C++ library support
13379 if test $with_gnu_ld = no; then
13380 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13381 hardcode_libdir_separator_CXX=:
13386 export_dynamic_flag_spec_CXX='${wl}-E'
13392 hardcode_direct_CXX=no
13393 hardcode_shlibpath_var_CXX=no
13396 hardcode_direct_CXX=yes
13397 hardcode_minus_L_CXX=yes # Not in the search PATH,
13398 # but as the default
13399 # location of the library.
13403 case $cc_basename in
13405 # FIXME: insert proper C++ library support
13411 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13414 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13417 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13420 # Commands to make compiler produce verbose output that lists
13421 # what "hidden" libraries, object files and flags are used when
13422 # linking a shared library.
13424 # There doesn't appear to be a way to prevent this compiler from
13425 # explicitly linking system object files so we need to strip them
13426 # from the output so that they don't get included in the library
13428 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 $list'
13431 if test "$GXX" = yes; then
13432 if test $with_gnu_ld = no; then
13435 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13438 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13441 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'
13446 # FIXME: insert proper C++ library support
13453 hardcode_direct_CXX=no
13454 hardcode_shlibpath_var_CXX=no
13455 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13456 export_dynamic_flag_spec_CXX='${wl}-E'
13457 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13458 # Instead, shared libraries are loaded at an image base (0x10000000 by
13459 # default) and relocated if they conflict, which is a slow very memory
13460 # consuming and fragmenting process. To avoid this, we pick a random,
13461 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13462 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13463 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'
13464 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'
13467 case $cc_basename in
13470 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13472 # Archives containing C++ object files must be created using
13473 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13474 # necessary to make sure instantiated templates are included
13476 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13479 if test "$GXX" = yes; then
13480 if test "$with_gnu_ld" = no; then
13481 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13483 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
13486 link_all_deplibs_CXX=yes
13489 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13490 hardcode_libdir_separator_CXX=:
13492 linux* | k*bsd*-gnu)
13493 case $cc_basename in
13495 # Kuck and Associates, Inc. (KAI) C++ Compiler
13497 # KCC will only create a shared library if the output file
13498 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13499 # to its proper name (with version) after linking.
13500 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'
13501 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'
13502 # Commands to make compiler produce verbose output that lists
13503 # what "hidden" libraries, object files and flags are used when
13504 # linking a shared library.
13506 # There doesn't appear to be a way to prevent this compiler from
13507 # explicitly linking system object files so we need to strip them
13508 # from the output so that they don't get included in the library
13510 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 $list'
13512 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
13513 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515 # Archives containing C++ object files must be created using
13516 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13517 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13522 # version 8.0 and above of icpc choke on multiply defined symbols
13523 # if we add $predep_objects and $postdep_objects, however 7.1 and
13524 # earlier do not add the objects themselves.
13525 case `$CC -V 2>&1` in
13527 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13528 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'
13530 *) # Version 8.0 or newer
13533 ia64*) tmp_idyn=' -i_dynamic';;
13535 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13536 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'
13539 archive_cmds_need_lc_CXX=no
13540 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13541 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13542 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13545 # Portland Group C++ compiler
13546 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13547 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'
13549 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13550 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13551 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'
13555 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13556 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'
13558 runpath_var=LD_RUN_PATH
13559 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13560 hardcode_libdir_separator_CXX=:
13562 # Commands to make compiler produce verbose output that lists
13563 # what "hidden" libraries, object files and flags are used when
13564 # linking a shared library.
13566 # There doesn't appear to be a way to prevent this compiler from
13567 # explicitly linking system object files so we need to strip them
13568 # from the output so that they don't get included in the library
13570 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "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 $list'
13573 case `$CC -V 2>&1 | sed 5q` in
13576 no_undefined_flag_CXX=' -zdefs'
13577 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13578 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'
13579 hardcode_libdir_flag_spec_CXX='-R$libdir'
13580 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'
13582 # Not sure whether something based on
13583 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13585 output_verbose_link_cmd='echo'
13587 # Archives containing C++ object files must be created using
13588 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13589 # necessary to make sure instantiated templates are included
13591 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13598 # FIXME: insert proper C++ library support
13602 # FIXME: insert proper C++ library support
13606 case $cc_basename in
13608 # FIXME: insert proper C++ library support
13612 # FIXME: insert proper C++ library support
13618 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13619 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13621 hardcode_libdir_flag_spec_CXX='-R$libdir'
13622 hardcode_direct_CXX=yes
13623 hardcode_shlibpath_var_CXX=no
13625 # Workaround some broken pre-1.5 toolchains
13626 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13629 # C++ shared libraries are fairly broken
13633 if test -f /usr/libexec/ld.so; then
13634 hardcode_direct_CXX=yes
13635 hardcode_shlibpath_var_CXX=no
13636 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13637 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13638 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13639 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13640 export_dynamic_flag_spec_CXX='${wl}-E'
13641 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13643 output_verbose_link_cmd='echo'
13649 case $cc_basename in
13651 # Kuck and Associates, Inc. (KAI) C++ Compiler
13653 # KCC will only create a shared library if the output file
13654 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13655 # to its proper name (with version) after linking.
13656 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'
13658 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13659 hardcode_libdir_separator_CXX=:
13661 # Archives containing C++ object files must be created using
13662 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13663 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13667 # Rational C++ 2.4.1
13668 # FIXME: insert proper C++ library support
13672 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13673 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13675 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13676 hardcode_libdir_separator_CXX=:
13678 # Commands to make compiler produce verbose output that lists
13679 # what "hidden" libraries, object files and flags are used when
13680 # linking a shared library.
13682 # There doesn't appear to be a way to prevent this compiler from
13683 # explicitly linking system object files so we need to strip them
13684 # from the output so that they don't get included in the library
13686 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
13689 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13690 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13691 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 ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13693 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13694 hardcode_libdir_separator_CXX=:
13696 # Commands to make compiler produce verbose output that lists
13697 # what "hidden" libraries, object files and flags are used when
13698 # linking a shared library.
13699 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13702 # FIXME: insert proper C++ library support
13709 case $cc_basename in
13711 # Kuck and Associates, Inc. (KAI) C++ Compiler
13713 # KCC will only create a shared library if the output file
13714 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13715 # to its proper name (with version) after linking.
13716 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'
13718 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13719 hardcode_libdir_separator_CXX=:
13721 # Archives containing C++ object files must be created using
13722 # the KAI C++ compiler.
13723 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13726 # Rational C++ 2.4.1
13727 # FIXME: insert proper C++ library support
13731 allow_undefined_flag_CXX=' -expect_unresolved \*'
13732 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13733 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13734 echo "-hidden">> $lib.exp~
13735 $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 -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
13738 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13739 hardcode_libdir_separator_CXX=:
13741 # Commands to make compiler produce verbose output that lists
13742 # what "hidden" libraries, object files and flags are used when
13743 # linking a shared library.
13745 # There doesn't appear to be a way to prevent this compiler from
13746 # explicitly linking system object files so we need to strip them
13747 # from the output so that they don't get included in the library
13749 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "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 $list'
13752 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13753 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13754 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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13756 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13757 hardcode_libdir_separator_CXX=:
13759 # Commands to make compiler produce verbose output that lists
13760 # what "hidden" libraries, object files and flags are used when
13761 # linking a shared library.
13762 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13765 # FIXME: insert proper C++ library support
13772 # FIXME: insert proper C++ library support
13776 case $cc_basename in
13779 # FIXME: insert proper C++ library support
13784 # FIXME: insert proper C++ library support
13788 # FIXME: insert proper C++ library support
13794 case $cc_basename in
13796 # Sun C++ 4.2, 5.x and Centerline C++
13797 archive_cmds_need_lc_CXX=yes
13798 no_undefined_flag_CXX=' -zdefs'
13799 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13800 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13801 $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'
13803 hardcode_libdir_flag_spec_CXX='-R$libdir'
13804 hardcode_shlibpath_var_CXX=no
13806 solaris2.[0-5] | solaris2.[0-5].*) ;;
13808 # The compiler driver will combine and reorder linker options,
13809 # but understands `-z linker_flag'.
13810 # Supported since Solaris 2.6 (maybe 2.5.1?)
13811 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13814 link_all_deplibs_CXX=yes
13816 output_verbose_link_cmd='echo'
13818 # Archives containing C++ object files must be created using
13819 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13820 # necessary to make sure instantiated templates are included
13822 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13825 # Green Hills C++ Compiler
13826 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13828 # The C++ compiler must be used to create the archive.
13829 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13832 # GNU C++ compiler with Solaris linker
13833 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13834 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13835 if $CC --version | grep -v '^2\.7' > /dev/null; then
13836 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13837 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13838 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13840 # Commands to make compiler produce verbose output that lists
13841 # what "hidden" libraries, object files and flags are used when
13842 # linking a shared library.
13843 output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13845 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13847 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13848 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13849 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13851 # Commands to make compiler produce verbose output that lists
13852 # what "hidden" libraries, object files and flags are used when
13853 # linking a shared library.
13854 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13857 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13859 solaris2.[0-5] | solaris2.[0-5].*) ;;
13861 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13868 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13869 no_undefined_flag_CXX='${wl}-z,text'
13870 archive_cmds_need_lc_CXX=no
13871 hardcode_shlibpath_var_CXX=no
13872 runpath_var='LD_RUN_PATH'
13874 case $cc_basename in
13876 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13877 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13880 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13881 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13885 sysv5* | sco3.2v5* | sco5v6*)
13886 # Note: We can NOT use -z defs as we might desire, because we do not
13887 # link with -lc, and that would cause any symbols used from libc to
13888 # always be unresolved, which means just about no library would
13889 # ever link correctly. If we're not using GNU ld we use -z text
13890 # though, which does catch some bad symbols but isn't as heavy-handed
13892 # For security reasons, it is highly recommended that you always
13893 # use absolute paths for naming shared libraries, and exclude the
13894 # DT_RUNPATH tag from executables and libraries. But doing so
13895 # requires that you compile everything twice, which is a pain.
13896 # So that behaviour is only enabled if SCOABSPATH is set to a
13897 # non-empty value in the environment. Most likely only useful for
13898 # creating official distributions of packages.
13899 # This is a hack until libtool officially supports absolute path
13900 # names for shared libraries.
13901 no_undefined_flag_CXX='${wl}-z,text'
13902 allow_undefined_flag_CXX='${wl}-z,nodefs'
13903 archive_cmds_need_lc_CXX=no
13904 hardcode_shlibpath_var_CXX=no
13905 hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13906 hardcode_libdir_separator_CXX=':'
13907 link_all_deplibs_CXX=yes
13908 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13909 runpath_var='LD_RUN_PATH'
13911 case $cc_basename in
13913 archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13914 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13917 archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13918 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13923 case $cc_basename in
13925 # NonStop-UX NCC 3.20
13926 # FIXME: insert proper C++ library support
13930 # FIXME: insert proper C++ library support
13936 # FIXME: insert proper C++ library support
13940 # FIXME: insert proper C++ library support
13944 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13945 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13946 test "$ld_shlibs_CXX" = no && can_build_shared=no
13951 cat > conftest.$ac_ext <<EOF
13955 Foo (void) { a = 0; }
13961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13962 (eval $ac_compile) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; then
13966 # Parse the compiler output and extract the necessary
13967 # objects, libraries and library flags.
13969 # Sentinel used to keep track of whether or not we are before
13970 # the conftest object file.
13971 pre_test_object_deps_done=no
13973 # The `*' in the case matches for architectures that use `case' in
13974 # $output_verbose_cmd can trigger glob expansion during the loop
13975 # eval without this substitution.
13976 output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13978 for p in `eval $output_verbose_link_cmd`; do
13982 # Some compilers place space between "-{L,R}" and the path.
13983 # Remove the space.
13984 if test $p = "-L" \
13985 || test $p = "-R"; then
13992 if test "$pre_test_object_deps_done" = no; then
13995 # Internal compiler library paths should come after those
13996 # provided the user. The postdeps already come after the
13997 # user supplied libs so there is no need to process them.
13998 if test -z "$compiler_lib_search_path_CXX"; then
13999 compiler_lib_search_path_CXX="${prev}${p}"
14001 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14004 # The "-l" case would never come before the object being
14005 # linked, so don't bother handling this case.
14008 if test -z "$postdeps_CXX"; then
14009 postdeps_CXX="${prev}${p}"
14011 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14017 # This assumes that the test object file only shows up
14018 # once in the compiler output.
14019 if test "$p" = "conftest.$objext"; then
14020 pre_test_object_deps_done=yes
14024 if test "$pre_test_object_deps_done" = no; then
14025 if test -z "$predep_objects_CXX"; then
14026 predep_objects_CXX="$p"
14028 predep_objects_CXX="$predep_objects_CXX $p"
14031 if test -z "$postdep_objects_CXX"; then
14032 postdep_objects_CXX="$p"
14034 postdep_objects_CXX="$postdep_objects_CXX $p"
14039 *) ;; # Ignore the rest.
14047 echo "libtool.m4: error: problem compiling CXX test program"
14050 $rm -f confest.$objext
14052 compiler_lib_search_dirs_CXX=
14053 if test -n "$compiler_lib_search_path_CXX"; then
14054 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14057 # PORTME: override above test on systems where it is broken
14060 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14061 # hack all around it, let's just trust "g++" to DTRT.
14062 predep_objects_CXX=
14063 postdep_objects_CXX=
14068 case `$CC -V 2>&1 | sed 5q` in
14072 # The more standards-conforming stlport4 library is
14073 # incompatible with the Cstd library. Avoid specifying
14074 # it if it's in CXXFLAGS. Ignore libCrun as
14075 # -library=stlport4 depends on it.
14076 case " $CXX $CXXFLAGS " in
14077 *" -library=stlport4 "*)
14078 solaris_use_stlport4=yes
14081 if test "$solaris_use_stlport4" != yes; then
14082 postdeps_CXX='-library=Cstd -library=Crun'
14089 case $cc_basename in
14091 # The more standards-conforming stlport4 library is
14092 # incompatible with the Cstd library. Avoid specifying
14093 # it if it's in CXXFLAGS. Ignore libCrun as
14094 # -library=stlport4 depends on it.
14095 case " $CXX $CXXFLAGS " in
14096 *" -library=stlport4 "*)
14097 solaris_use_stlport4=yes
14101 # Adding this requires a known-good setup of shared libraries for
14102 # Sun compiler versions before 5.6, else PIC objects from an old
14103 # archive will be linked into the output, leading to subtle bugs.
14104 if test "$solaris_use_stlport4" != yes; then
14105 postdeps_CXX='-library=Cstd -library=Crun'
14112 case " $postdeps_CXX " in
14113 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14116 lt_prog_compiler_wl_CXX=
14117 lt_prog_compiler_pic_CXX=
14118 lt_prog_compiler_static_CXX=
14120 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14121 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14123 # C++ specific cases for pic, static, wl, etc.
14124 if test "$GXX" = yes; then
14125 lt_prog_compiler_wl_CXX='-Wl,'
14126 lt_prog_compiler_static_CXX='-static'
14130 # All AIX code is PIC.
14131 if test "$host_cpu" = ia64; then
14132 # AIX 5 now supports IA64 processor
14133 lt_prog_compiler_static_CXX='-Bstatic'
14137 # FIXME: we need at least 68020 code to build shared libraries, but
14138 # adding the `-m68020' flag to GCC prevents building anything better,
14140 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14142 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14143 # PIC is the default for these OSes.
14145 mingw* | cygwin* | os2* | pw32*)
14146 # This hack is so that the source file can tell whether it is being
14147 # built for inclusion in a dll (and should export symbols for example).
14148 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14149 # (--disable-auto-import) libraries
14150 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14152 darwin* | rhapsody*)
14153 # PIC is the default on this platform
14154 # Common symbols not allowed in MH_DYLIB files
14155 lt_prog_compiler_pic_CXX='-fno-common'
14158 # DJGPP does not support shared libraries at all
14159 lt_prog_compiler_pic_CXX=
14162 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14163 # Instead, we relocate shared libraries at runtime.
14166 if test -d /usr/nec; then
14167 lt_prog_compiler_pic_CXX=-Kconform_pic
14171 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14172 # not for PA HP-UX.
14177 lt_prog_compiler_pic_CXX='-fPIC'
14182 lt_prog_compiler_pic_CXX='-fPIC'
14188 # All AIX code is PIC.
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 now supports IA64 processor
14191 lt_prog_compiler_static_CXX='-Bstatic'
14193 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14197 case $cc_basename in
14199 # Green Hills C++ Compiler
14200 # _LT_AC_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"
14205 # PIC is the default on this platform
14206 # Common symbols not allowed in MH_DYLIB files
14207 case $cc_basename in
14209 lt_prog_compiler_pic_CXX='-qnocommon'
14210 lt_prog_compiler_wl_CXX='-Wl,'
14215 case $cc_basename in
14217 lt_prog_compiler_pic_CXX='-KPIC'
14220 # Green Hills C++ Compiler
14221 lt_prog_compiler_pic_CXX='-pic'
14227 freebsd* | dragonfly*)
14228 # FreeBSD uses GNU C++
14230 hpux9* | hpux10* | hpux11*)
14231 case $cc_basename in
14233 lt_prog_compiler_wl_CXX='-Wl,'
14234 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14235 if test "$host_cpu" != ia64; then
14236 lt_prog_compiler_pic_CXX='+Z'
14240 lt_prog_compiler_wl_CXX='-Wl,'
14241 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14247 lt_prog_compiler_pic_CXX='+Z'
14256 # This is c89, which is MS Visual C++ (no shared libs)
14257 # Anyone wants to do a port?
14259 irix5* | irix6* | nonstopux*)
14260 case $cc_basename in
14262 lt_prog_compiler_wl_CXX='-Wl,'
14263 lt_prog_compiler_static_CXX='-non_shared'
14264 # CC pic flag -KPIC is the default.
14270 linux* | k*bsd*-gnu)
14271 case $cc_basename in
14274 lt_prog_compiler_wl_CXX='--backend -Wl,'
14275 lt_prog_compiler_pic_CXX='-fPIC'
14279 lt_prog_compiler_wl_CXX='-Wl,'
14280 lt_prog_compiler_pic_CXX='-KPIC'
14281 lt_prog_compiler_static_CXX='-static'
14284 # Portland Group C++ compiler.
14285 lt_prog_compiler_wl_CXX='-Wl,'
14286 lt_prog_compiler_pic_CXX='-fpic'
14287 lt_prog_compiler_static_CXX='-Bstatic'
14291 # Make sure the PIC flag is empty. It appears that all Alpha
14292 # Linux and Compaq Tru64 Unix objects are PIC.
14293 lt_prog_compiler_pic_CXX=
14294 lt_prog_compiler_static_CXX='-non_shared'
14297 case `$CC -V 2>&1 | sed 5q` in
14300 lt_prog_compiler_pic_CXX='-KPIC'
14301 lt_prog_compiler_static_CXX='-Bstatic'
14302 lt_prog_compiler_wl_CXX='-Qoption ld '
14313 case $cc_basename in
14315 lt_prog_compiler_pic_CXX='-W c,exportall'
14323 osf3* | osf4* | osf5*)
14324 case $cc_basename in
14326 lt_prog_compiler_wl_CXX='--backend -Wl,'
14329 # Rational C++ 2.4.1
14330 lt_prog_compiler_pic_CXX='-pic'
14333 # Digital/Compaq C++
14334 lt_prog_compiler_wl_CXX='-Wl,'
14335 # Make sure the PIC flag is empty. It appears that all Alpha
14336 # Linux and Compaq Tru64 Unix objects are PIC.
14337 lt_prog_compiler_pic_CXX=
14338 lt_prog_compiler_static_CXX='-non_shared'
14347 case $cc_basename in
14349 # Sun C++ 4.2, 5.x and Centerline C++
14350 lt_prog_compiler_pic_CXX='-KPIC'
14351 lt_prog_compiler_static_CXX='-Bstatic'
14352 lt_prog_compiler_wl_CXX='-Qoption ld '
14355 # Green Hills C++ Compiler
14356 lt_prog_compiler_pic_CXX='-PIC'
14363 case $cc_basename in
14366 lt_prog_compiler_pic_CXX='-pic'
14367 lt_prog_compiler_static_CXX='-Bstatic'
14371 lt_prog_compiler_pic_CXX='-pic'
14378 case $cc_basename in
14380 # NonStop-UX NCC 3.20
14381 lt_prog_compiler_pic_CXX='-KPIC'
14387 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14388 case $cc_basename in
14390 lt_prog_compiler_wl_CXX='-Wl,'
14391 lt_prog_compiler_pic_CXX='-KPIC'
14392 lt_prog_compiler_static_CXX='-Bstatic'
14399 lt_prog_compiler_can_build_shared_CXX=no
14404 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14405 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14408 # Check to make sure the PIC flag actually works.
14410 if test -n "$lt_prog_compiler_pic_CXX"; then
14412 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14413 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14414 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14415 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 lt_cv_prog_compiler_pic_works_CXX=no
14418 ac_outfile=conftest.$ac_objext
14419 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14420 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14421 # Insert the option either (1) after the last *FLAGS variable, or
14422 # (2) before a word containing "conftest.", or (3) at the end.
14423 # Note that $ac_compile itself does not contain backslashes and begins
14424 # with a dollar sign (not a hyphen), so the echo should work correctly.
14425 # The option is referenced via a variable to avoid confusing sed.
14426 lt_compile=`echo "$ac_compile" | $SED \
14427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14429 -e 's:$: $lt_compiler_flag:'`
14430 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14431 (eval "$lt_compile" 2>conftest.err)
14433 cat conftest.err >&5
14434 echo "$as_me:__oline__: \$? = $ac_status" >&5
14435 if (exit $ac_status) && test -s "$ac_outfile"; then
14436 # The compiler can only warn and ignore the option if not recognized
14437 # So say no if there are warnings other than the usual output.
14438 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14439 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14440 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14441 lt_cv_prog_compiler_pic_works_CXX=yes
14447 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14448 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14450 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14451 case $lt_prog_compiler_pic_CXX in
14453 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14456 lt_prog_compiler_pic_CXX=
14457 lt_prog_compiler_can_build_shared_CXX=no
14462 # For platforms which do not support PIC, -DPIC is meaningless:
14464 lt_prog_compiler_pic_CXX=
14467 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14472 # Check to make sure the static flag actually works.
14474 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14475 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14476 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14477 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 lt_cv_prog_compiler_static_works_CXX=no
14481 save_LDFLAGS="$LDFLAGS"
14482 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14483 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14484 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14485 # The linker can only warn and ignore the option if not recognized
14486 # So say no if there are warnings
14487 if test -s conftest.err; then
14488 # Append any errors to the config.log.
14489 cat conftest.err 1>&5
14490 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14491 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14492 if diff conftest.exp conftest.er2 >/dev/null; then
14493 lt_cv_prog_compiler_static_works_CXX=yes
14496 lt_cv_prog_compiler_static_works_CXX=yes
14500 LDFLAGS="$save_LDFLAGS"
14503 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14504 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14506 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14509 lt_prog_compiler_static_CXX=
14513 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14514 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14515 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14518 lt_cv_prog_compiler_c_o_CXX=no
14519 $rm -r conftest 2>/dev/null
14523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14525 lt_compiler_flag="-o out/conftest2.$ac_objext"
14526 # Insert the option either (1) after the last *FLAGS variable, or
14527 # (2) before a word containing "conftest.", or (3) at the end.
14528 # Note that $ac_compile itself does not contain backslashes and begins
14529 # with a dollar sign (not a hyphen), so the echo should work correctly.
14530 lt_compile=`echo "$ac_compile" | $SED \
14531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14533 -e 's:$: $lt_compiler_flag:'`
14534 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
14535 (eval "$lt_compile" 2>out/conftest.err)
14537 cat out/conftest.err >&5
14538 echo "$as_me:__oline__: \$? = $ac_status" >&5
14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14541 # The compiler can only warn and ignore the option if not recognized
14542 # So say no if there are warnings
14543 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14544 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14545 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14546 lt_cv_prog_compiler_c_o_CXX=yes
14551 # SGI C++ compiler will create directory out/ii_files/ for
14552 # template instantiation
14553 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14554 $rm out/* && rmdir out
14560 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14561 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14564 hard_links="nottested"
14565 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14566 # do not overwrite the value of need_locks provided by the user
14567 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14568 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14571 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14573 ln conftest.a conftest.b 2>&5 || hard_links=no
14574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14575 { echo "$as_me:$LINENO: result: $hard_links" >&5
14576 echo "${ECHO_T}$hard_links" >&6; }
14577 if test "$hard_links" = no; then
14578 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14579 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14586 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14587 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14589 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14592 # If we're using GNU nm, then we don't want the "-C" option.
14593 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14594 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14595 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'
14597 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'
14601 export_symbols_cmds_CXX="$ltdll_cmds"
14604 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'
14607 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14610 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14612 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14613 echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14614 test "$ld_shlibs_CXX" = no && can_build_shared=no
14617 # Do we need to explicitly link libc?
14619 case "x$archive_cmds_need_lc_CXX" in
14621 # Assume -lc should be added
14622 archive_cmds_need_lc_CXX=yes
14624 if test "$enable_shared" = yes && test "$GCC" = yes; then
14625 case $archive_cmds_CXX in
14627 # FIXME: we may have to deal with multi-command sequences.
14630 # Test whether the compiler implicitly links with -lc since on some
14631 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14632 # to ld, don't add -lc before -lgcc.
14633 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14634 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14639 (eval $ac_compile) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); } 2>conftest.err; then
14645 libobjs=conftest.$ac_objext
14647 wl=$lt_prog_compiler_wl_CXX
14648 pic_flag=$lt_prog_compiler_pic_CXX
14654 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14655 allow_undefined_flag_CXX=
14656 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14657 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }
14662 archive_cmds_need_lc_CXX=no
14664 archive_cmds_need_lc_CXX=yes
14666 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14668 cat conftest.err 1>&5
14671 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14672 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14679 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14680 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14681 library_names_spec=
14682 libname_spec='lib$name'
14686 postuninstall_cmds=
14690 shlibpath_overrides_runpath=unknown
14692 dynamic_linker="$host_os ld.so"
14693 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14695 need_lib_prefix=unknown
14696 hardcode_into_libs=no
14698 # when you set need_version to no, make sure it does not cause -set_version
14699 # flags to be left without arguments
14700 need_version=unknown
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14706 shlibpath_var=LIBPATH
14708 # AIX 3 has no versioning support, so we append a major version to the name.
14709 soname_spec='${libname}${release}${shared_ext}$major'
14716 hardcode_into_libs=yes
14717 if test "$host_cpu" = ia64; then
14718 # AIX 5 supports IA64
14719 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14720 shlibpath_var=LD_LIBRARY_PATH
14722 # With GCC up to 2.95.x, collect2 would create an import file
14723 # for dependence libraries. The import file would start with
14724 # the line `#! .'. This would cause the generated library to
14725 # depend on `.', always an invalid library. This was fixed in
14726 # development snapshots of GCC prior to 3.0.
14728 aix4 | aix4.[01] | aix4.[01].*)
14729 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14731 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14734 can_build_shared=no
14738 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14739 # soname into executable. Probably we can add versioning support to
14740 # collect2, so additional links can be useful in future.
14741 if test "$aix_use_runtimelinking" = yes; then
14742 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14743 # instead of lib<name>.a to let people know that these are not
14744 # typical AIX shared libraries.
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14747 # We preserve .a as extension for shared libraries through AIX4.2
14748 # and later when we are not doing run time linking.
14749 library_names_spec='${libname}${release}.a $libname.a'
14750 soname_spec='${libname}${release}${shared_ext}$major'
14752 shlibpath_var=LIBPATH
14757 library_names_spec='$libname.ixlibrary $libname.a'
14758 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14759 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'
14763 library_names_spec='${libname}${shared_ext}'
14764 dynamic_linker="$host_os ld.so"
14765 shlibpath_var=LIBRARY_PATH
14771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772 soname_spec='${libname}${release}${shared_ext}$major'
14773 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14774 shlibpath_var=LD_LIBRARY_PATH
14775 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14776 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14777 # the default ld.so.conf also contains /usr/contrib/lib and
14778 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14779 # libtool to hard-code these into programs
14782 cygwin* | mingw* | pw32*)
14783 version_type=windows
14788 case $GCC,$host_os in
14789 yes,cygwin* | yes,mingw* | yes,pw32*)
14790 library_names_spec='$libname.dll.a'
14791 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14792 postinstall_cmds='base_file=`basename \${file}`~
14793 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14794 dldir=$destdir/`dirname \$dlpath`~
14795 test -d \$dldir || mkdir -p \$dldir~
14796 $install_prog $dir/$dlname \$dldir/$dlname~
14797 chmod a+x \$dldir/$dlname'
14798 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14799 dlpath=$dir/\$dldll~
14801 shlibpath_overrides_runpath=yes
14805 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14806 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14807 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14810 # MinGW DLLs use traditional 'lib' prefix
14811 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14812 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14813 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14814 # It is most probably a Windows format PATH printed by
14815 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14816 # path with ; separators, and with drive letters. We can handle the
14817 # drive letters (cygwin fileutils understands them), so leave them,
14818 # especially as we might pass files found there to a mingw objdump,
14819 # which wouldn't understand a cygwinified path. Ahh.
14820 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14822 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14826 # pw32 DLLs use 'pw' prefix rather than 'lib'
14827 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14833 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14836 dynamic_linker='Win32 ld.exe'
14837 # FIXME: first we should search . and the directory the executable is in
14841 darwin* | rhapsody*)
14842 dynamic_linker="$host_os dyld"
14843 version_type=darwin
14846 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14847 soname_spec='${libname}${release}${major}$shared_ext'
14848 shlibpath_overrides_runpath=yes
14849 shlibpath_var=DYLD_LIBRARY_PATH
14850 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14852 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14859 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14860 soname_spec='${libname}${release}${shared_ext}$major'
14861 shlibpath_var=LD_LIBRARY_PATH
14868 freebsd* | dragonfly*)
14869 # DragonFly does not have aout. When/if they implement a new
14870 # versioning mechanism, adjust this.
14871 if test -x /usr/bin/objformat; then
14872 objformat=`/usr/bin/objformat`
14875 freebsd[123]*) objformat=aout ;;
14876 *) objformat=elf ;;
14879 version_type=freebsd-$objformat
14880 case $version_type in
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14887 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14891 shlibpath_var=LD_LIBRARY_PATH
14894 shlibpath_overrides_runpath=yes
14896 freebsd3.[01]* | freebsdelf3.[01]*)
14897 shlibpath_overrides_runpath=yes
14898 hardcode_into_libs=yes
14900 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14901 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14902 shlibpath_overrides_runpath=no
14903 hardcode_into_libs=yes
14905 *) # from 4.6 on, and DragonFly
14906 shlibpath_overrides_runpath=yes
14907 hardcode_into_libs=yes
14916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14917 soname_spec='${libname}${release}${shared_ext}$major'
14918 shlibpath_var=LD_LIBRARY_PATH
14919 hardcode_into_libs=yes
14922 hpux9* | hpux10* | hpux11*)
14923 # Give a soname corresponding to the major version so that dld.sl refuses to
14924 # link against other versions.
14931 hardcode_into_libs=yes
14932 dynamic_linker="$host_os dld.so"
14933 shlibpath_var=LD_LIBRARY_PATH
14934 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 if test "X$HPUX_IA64_MODE" = X32; then
14938 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14940 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14942 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14946 hardcode_into_libs=yes
14947 dynamic_linker="$host_os dld.sl"
14948 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14949 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951 soname_spec='${libname}${release}${shared_ext}$major'
14952 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14953 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14957 dynamic_linker="$host_os dld.sl"
14958 shlibpath_var=SHLIB_PATH
14959 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14961 soname_spec='${libname}${release}${shared_ext}$major'
14964 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14965 postinstall_cmds='chmod 555 $lib'
14972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14973 soname_spec='${libname}${release}${shared_ext}$major'
14974 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14975 shlibpath_var=LD_LIBRARY_PATH
14976 shlibpath_overrides_runpath=no
14977 hardcode_into_libs=yes
14980 irix5* | irix6* | nonstopux*)
14982 nonstopux*) version_type=nonstopux ;;
14984 if test "$lt_cv_prog_gnu_ld" = yes; then
14992 soname_spec='${libname}${release}${shared_ext}$major'
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14995 irix5* | nonstopux*)
14996 libsuff= shlibsuff=
14999 case $LD in # libtool.m4 will add one of these switches to LD
15000 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15001 libsuff= shlibsuff= libmagic=32-bit;;
15002 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15003 libsuff=32 shlibsuff=N32 libmagic=N32;;
15004 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15005 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15006 *) libsuff= shlibsuff= libmagic=never-match;;
15010 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15011 shlibpath_overrides_runpath=no
15012 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15013 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15014 hardcode_into_libs=yes
15017 # No shared lib support for Linux oldld, aout, or coff.
15018 linux*oldld* | linux*aout* | linux*coff*)
15022 # This must be Linux ELF.
15023 linux* | k*bsd*-gnu)
15027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15028 soname_spec='${libname}${release}${shared_ext}$major'
15029 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15030 shlibpath_var=LD_LIBRARY_PATH
15031 shlibpath_overrides_runpath=no
15032 # This implies no fast_install, which is unacceptable.
15033 # Some rework will be needed to allow for fast_install
15034 # before this can be enabled.
15035 hardcode_into_libs=yes
15037 # Append ld.so.conf contents to the search path
15038 if test -f /etc/ld.so.conf; then
15039 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' ' '`
15040 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15043 # We used to test for /lib/ld.so.1 and disable shared libraries on
15044 # powerpc, because MkLinux only supported shared libraries with the
15045 # GNU dynamic linker. Since this was broken with cross compilers,
15046 # most powerpc-linux boxes support dynamic linking these days and
15047 # people can always --disable-shared, the test was removed, and we
15048 # assume the GNU/Linux dynamic linker is in use.
15049 dynamic_linker='GNU/Linux ld.so'
15056 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15057 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15058 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15059 dynamic_linker='NetBSD (a.out) ld.so'
15061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15062 soname_spec='${libname}${release}${shared_ext}$major'
15063 dynamic_linker='NetBSD ld.elf_so'
15065 shlibpath_var=LD_LIBRARY_PATH
15066 shlibpath_overrides_runpath=yes
15067 hardcode_into_libs=yes
15072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15073 shlibpath_var=LD_LIBRARY_PATH
15074 shlibpath_overrides_runpath=yes
15081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15082 soname_spec='${libname}${release}${shared_ext}$major'
15083 shlibpath_var=LD_LIBRARY_PATH
15084 shlibpath_overrides_runpath=yes
15089 sys_lib_dlsearch_path_spec="/usr/lib"
15091 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15093 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15094 *) need_version=no ;;
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15097 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15098 shlibpath_var=LD_LIBRARY_PATH
15099 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15101 openbsd2.[89] | openbsd2.[89].*)
15102 shlibpath_overrides_runpath=no
15105 shlibpath_overrides_runpath=yes
15109 shlibpath_overrides_runpath=yes
15114 libname_spec='$name'
15117 library_names_spec='$libname${shared_ext} $libname.a'
15118 dynamic_linker='OS/2 ld.exe'
15119 shlibpath_var=LIBPATH
15122 osf3* | osf4* | osf5*)
15126 soname_spec='${libname}${release}${shared_ext}$major'
15127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15128 shlibpath_var=LD_LIBRARY_PATH
15129 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15130 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15142 soname_spec='${libname}${release}${shared_ext}$major'
15143 shlibpath_var=LD_LIBRARY_PATH
15144 shlibpath_overrides_runpath=yes
15145 hardcode_into_libs=yes
15146 # ldd complains unless libraries are executable
15147 postinstall_cmds='chmod +x $lib'
15152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15153 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15154 shlibpath_var=LD_LIBRARY_PATH
15155 shlibpath_overrides_runpath=yes
15156 if test "$with_gnu_ld" = yes; then
15164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15165 soname_spec='${libname}${release}${shared_ext}$major'
15166 shlibpath_var=LD_LIBRARY_PATH
15167 case $host_vendor in
15169 shlibpath_overrides_runpath=no
15171 export_dynamic_flag_spec='${wl}-Blargedynsym'
15172 runpath_var=LD_RUN_PATH
15180 shlibpath_overrides_runpath=no
15181 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15187 if test -d /usr/nec ;then
15189 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15190 soname_spec='$libname${shared_ext}.$major'
15191 shlibpath_var=LD_LIBRARY_PATH
15195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15196 version_type=freebsd-elf
15199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15200 soname_spec='${libname}${release}${shared_ext}$major'
15201 shlibpath_var=LD_LIBRARY_PATH
15202 hardcode_into_libs=yes
15203 if test "$with_gnu_ld" = yes; then
15204 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15205 shlibpath_overrides_runpath=no
15207 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15208 shlibpath_overrides_runpath=yes
15211 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15215 sys_lib_dlsearch_path_spec='/usr/lib'
15220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15221 soname_spec='${libname}${release}${shared_ext}$major'
15222 shlibpath_var=LD_LIBRARY_PATH
15229 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15230 echo "${ECHO_T}$dynamic_linker" >&6; }
15231 test "$dynamic_linker" = no && can_build_shared=no
15233 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
15239 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15240 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
15246 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15249 if test "$GCC" = yes; then
15250 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15253 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15254 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15255 hardcode_action_CXX=
15256 if test -n "$hardcode_libdir_flag_spec_CXX" || \
15257 test -n "$runpath_var_CXX" || \
15258 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15260 # We can hardcode non-existant directories.
15261 if test "$hardcode_direct_CXX" != no &&
15262 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15263 # have to relink, otherwise we might link with an installed library
15264 # when we should be linking with a yet-to-be-installed one
15265 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15266 test "$hardcode_minus_L_CXX" != no; then
15267 # Linking always hardcodes the temporary library directory.
15268 hardcode_action_CXX=relink
15270 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15271 hardcode_action_CXX=immediate
15274 # We cannot hardcode anything, or else we can only hardcode existing
15276 hardcode_action_CXX=unsupported
15278 { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15279 echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15281 if test "$hardcode_action_CXX" = relink; then
15282 # Fast installation is not supported
15283 enable_fast_install=no
15284 elif test "$shlibpath_overrides_runpath" = yes ||
15285 test "$enable_shared" = no; then
15286 # Fast installation is not necessary
15287 enable_fast_install=needless
15291 # The else clause should only fire when bootstrapping the
15292 # libtool distribution, otherwise you forgot to ship ltmain.sh
15293 # with your package, and you will get complaints that there are
15294 # no rules to generate ltmain.sh.
15295 if test -f "$ltmain"; then
15296 # See if we are running on zsh, and set the options which allow our commands through
15297 # without removal of \ escapes.
15298 if test -n "${ZSH_VERSION+set}" ; then
15299 setopt NO_GLOB_SUBST
15301 # Now quote all the things that may contain metacharacters while being
15302 # careful not to overquote the AC_SUBSTed values. We take copies of the
15303 # variables and quote the copies for generation of the libtool script.
15304 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15306 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15307 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15308 deplibs_check_method reload_flag reload_cmds need_locks \
15309 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15310 lt_cv_sys_global_symbol_to_c_name_address \
15311 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15312 old_postinstall_cmds old_postuninstall_cmds \
15316 lt_prog_compiler_wl_CXX \
15317 lt_prog_compiler_pic_CXX \
15318 lt_prog_compiler_static_CXX \
15319 lt_prog_compiler_no_builtin_flag_CXX \
15320 export_dynamic_flag_spec_CXX \
15321 thread_safe_flag_spec_CXX \
15322 whole_archive_flag_spec_CXX \
15323 enable_shared_with_static_runtimes_CXX \
15324 old_archive_cmds_CXX \
15325 old_archive_from_new_cmds_CXX \
15326 predep_objects_CXX \
15327 postdep_objects_CXX \
15330 compiler_lib_search_path_CXX \
15331 compiler_lib_search_dirs_CXX \
15333 archive_expsym_cmds_CXX \
15334 postinstall_cmds_CXX \
15335 postuninstall_cmds_CXX \
15336 old_archive_from_expsyms_cmds_CXX \
15337 allow_undefined_flag_CXX \
15338 no_undefined_flag_CXX \
15339 export_symbols_cmds_CXX \
15340 hardcode_libdir_flag_spec_CXX \
15341 hardcode_libdir_flag_spec_ld_CXX \
15342 hardcode_libdir_separator_CXX \
15343 hardcode_automatic_CXX \
15345 module_expsym_cmds_CXX \
15346 lt_cv_prog_compiler_c_o_CXX \
15347 fix_srcfile_path_CXX \
15348 exclude_expsyms_CXX \
15349 include_expsyms_CXX; do
15352 old_archive_cmds_CXX | \
15353 old_archive_from_new_cmds_CXX | \
15354 archive_cmds_CXX | \
15355 archive_expsym_cmds_CXX | \
15356 module_cmds_CXX | \
15357 module_expsym_cmds_CXX | \
15358 old_archive_from_expsyms_cmds_CXX | \
15359 export_symbols_cmds_CXX | \
15360 extract_expsyms_cmds | reload_cmds | finish_cmds | \
15361 postinstall_cmds | postuninstall_cmds | \
15362 old_postinstall_cmds | old_postuninstall_cmds | \
15363 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
15364 # Double-quote double-evaled strings.
15365 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
15368 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
15374 *'\$0 --fallback-echo"')
15375 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
15381 cat <<__EOF__ >> "$cfgfile"
15382 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
15384 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15386 # Shell to use when invoking shell scripts.
15389 # Whether or not to build shared libraries.
15390 build_libtool_libs=$enable_shared
15392 # Whether or not to build static libraries.
15393 build_old_libs=$enable_static
15395 # Whether or not to add -lc for building shared libraries.
15396 build_libtool_need_lc=$archive_cmds_need_lc_CXX
15398 # Whether or not to disallow shared libs when runtime libs are static
15399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
15401 # Whether or not to optimize for fast installation.
15402 fast_install=$enable_fast_install
15405 host_alias=$host_alias
15409 # The build system.
15410 build_alias=$build_alias
15414 # An echo program that does not interpret backslashes.
15419 AR_FLAGS=$lt_AR_FLAGS
15424 # LTCC compiler flags.
15425 LTCFLAGS=$lt_LTCFLAGS
15427 # A language-specific compiler.
15428 CC=$lt_compiler_CXX
15430 # Is the compiler the GNU C compiler?
15436 # The linker used to build libraries.
15439 # Whether we need hard or soft links.
15442 # A BSD-compatible nm program.
15445 # A symbol stripping program
15448 # Used to examine libraries when file_magic_cmd begins "file"
15449 MAGIC_CMD=$MAGIC_CMD
15451 # Used on cygwin: DLL creation program.
15454 # Used on cygwin: object dumper.
15457 # Used on cygwin: assembler.
15460 # The name of the directory that contains temporary libtool files.
15463 # How to create reloadable object files.
15464 reload_flag=$lt_reload_flag
15465 reload_cmds=$lt_reload_cmds
15467 # How to pass a linker flag through the compiler.
15468 wl=$lt_lt_prog_compiler_wl_CXX
15470 # Object file suffix (normally "o").
15471 objext="$ac_objext"
15473 # Old archive suffix (normally "a").
15476 # Shared library suffix (normally ".so").
15477 shrext_cmds='$shrext_cmds'
15479 # Executable file suffix (normally "").
15482 # Additional compiler flags for building library objects.
15483 pic_flag=$lt_lt_prog_compiler_pic_CXX
15486 # What is the maximum length of a command?
15487 max_cmd_len=$lt_cv_sys_max_cmd_len
15489 # Does compiler simultaneously support -c and -o options?
15490 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
15492 # Must we lock files when doing compilation?
15493 need_locks=$lt_need_locks
15495 # Do we need the lib prefix for modules?
15496 need_lib_prefix=$need_lib_prefix
15498 # Do we need a version for libraries?
15499 need_version=$need_version
15501 # Whether dlopen is supported.
15502 dlopen_support=$enable_dlopen
15504 # Whether dlopen of programs is supported.
15505 dlopen_self=$enable_dlopen_self
15507 # Whether dlopen of statically linked programs is supported.
15508 dlopen_self_static=$enable_dlopen_self_static
15510 # Compiler flag to prevent dynamic linking.
15511 link_static_flag=$lt_lt_prog_compiler_static_CXX
15513 # Compiler flag to turn off builtin functions.
15514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
15516 # Compiler flag to allow reflexive dlopens.
15517 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
15519 # Compiler flag to generate shared objects directly from archives.
15520 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
15522 # Compiler flag to generate thread-safe objects.
15523 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
15525 # Library versioning type.
15526 version_type=$version_type
15528 # Format of library name prefix.
15529 libname_spec=$lt_libname_spec
15531 # List of archive names. First name is the real one, the rest are links.
15532 # The last name is the one that the linker finds with -lNAME.
15533 library_names_spec=$lt_library_names_spec
15535 # The coded name of the library, if different from the real name.
15536 soname_spec=$lt_soname_spec
15538 # Commands used to build and install an old-style archive.
15540 old_archive_cmds=$lt_old_archive_cmds_CXX
15541 old_postinstall_cmds=$lt_old_postinstall_cmds
15542 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15544 # Create an old-style archive from a shared archive.
15545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
15547 # Create a temporary old-style archive to link instead of a shared archive.
15548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
15550 # Commands used to build and install a shared archive.
15551 archive_cmds=$lt_archive_cmds_CXX
15552 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
15553 postinstall_cmds=$lt_postinstall_cmds
15554 postuninstall_cmds=$lt_postuninstall_cmds
15556 # Commands used to build a loadable module (assumed same as above if empty)
15557 module_cmds=$lt_module_cmds_CXX
15558 module_expsym_cmds=$lt_module_expsym_cmds_CXX
15560 # Commands to strip libraries.
15561 old_striplib=$lt_old_striplib
15562 striplib=$lt_striplib
15564 # Dependencies to place before the objects being linked to create a
15566 predep_objects=$lt_predep_objects_CXX
15568 # Dependencies to place after the objects being linked to create a
15570 postdep_objects=$lt_postdep_objects_CXX
15572 # Dependencies to place before the objects being linked to create a
15574 predeps=$lt_predeps_CXX
15576 # Dependencies to place after the objects being linked to create a
15578 postdeps=$lt_postdeps_CXX
15580 # The directories searched by this compiler when creating a shared
15582 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
15584 # The library search path used internally by the compiler when linking
15585 # a shared library.
15586 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
15588 # Method to check whether dependent libraries are shared objects.
15589 deplibs_check_method=$lt_deplibs_check_method
15591 # Command to use when deplibs_check_method == file_magic.
15592 file_magic_cmd=$lt_file_magic_cmd
15594 # Flag that allows shared libraries with undefined symbols to be built.
15595 allow_undefined_flag=$lt_allow_undefined_flag_CXX
15597 # Flag that forces no undefined symbols.
15598 no_undefined_flag=$lt_no_undefined_flag_CXX
15600 # Commands used to finish a libtool library installation in a directory.
15601 finish_cmds=$lt_finish_cmds
15603 # Same as above, but a single script fragment to be evaled but not shown.
15604 finish_eval=$lt_finish_eval
15606 # Take the output of nm and produce a listing of raw symbols and C names.
15607 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15609 # Transform the output of nm in a proper C declaration
15610 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15612 # Transform the output of nm in a C name address pair
15613 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15615 # This is the shared library runtime path variable.
15616 runpath_var=$runpath_var
15618 # This is the shared library path variable.
15619 shlibpath_var=$shlibpath_var
15621 # Is shlibpath searched before the hard-coded library search path?
15622 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15624 # How to hardcode a shared library path into an executable.
15625 hardcode_action=$hardcode_action_CXX
15627 # Whether we should hardcode library paths into libraries.
15628 hardcode_into_libs=$hardcode_into_libs
15630 # Flag to hardcode \$libdir into a binary during linking.
15631 # This must work even if \$libdir does not exist.
15632 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15634 # If ld is used when linking, flag to hardcode \$libdir into
15635 # a binary during linking. This must work even if \$libdir does
15637 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15639 # Whether we need a single -rpath flag with a separated argument.
15640 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15642 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15643 # resulting binary.
15644 hardcode_direct=$hardcode_direct_CXX
15646 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15647 # resulting binary.
15648 hardcode_minus_L=$hardcode_minus_L_CXX
15650 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15651 # the resulting binary.
15652 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15654 # Set to yes if building a shared library automatically hardcodes DIR into the library
15655 # and all subsequent libraries and executables linked against it.
15656 hardcode_automatic=$hardcode_automatic_CXX
15658 # Variables whose values should be saved in libtool wrapper scripts and
15659 # restored at relink time.
15660 variables_saved_for_relink="$variables_saved_for_relink"
15662 # Whether libtool must link a program against all its dependency libraries.
15663 link_all_deplibs=$link_all_deplibs_CXX
15665 # Compile-time system search path for libraries
15666 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15668 # Run-time system search path for libraries
15669 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15671 # Fix the shell variable \$srcfile for the compiler.
15672 fix_srcfile_path=$lt_fix_srcfile_path
15674 # Set to yes if exported symbols are required.
15675 always_export_symbols=$always_export_symbols_CXX
15677 # The commands to list exported symbols.
15678 export_symbols_cmds=$lt_export_symbols_cmds_CXX
15680 # The commands to extract the exported symbol list from a shared archive.
15681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15683 # Symbols that should not be listed in the preloaded symbols.
15684 exclude_expsyms=$lt_exclude_expsyms_CXX
15686 # Symbols that must always be exported.
15687 include_expsyms=$lt_include_expsyms_CXX
15689 # ### END LIBTOOL TAG CONFIG: $tagname
15695 # If there is no Makefile yet, we rely on a make rule to execute
15696 # `config.status --recheck' to rerun these tests and create the
15697 # libtool script then.
15698 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15699 if test -f "$ltmain_in"; then
15700 test -f Makefile && make "$ltmain"
15706 ac_cpp='$CPP $CPPFLAGS'
15707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15715 with_gnu_ldcxx=$with_gnu_ld
15716 with_gnu_ld=$lt_save_with_gnu_ld
15717 lt_cv_path_LDCXX=$lt_cv_path_LD
15718 lt_cv_path_LD=$lt_save_path_LD
15719 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15720 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15728 if test -n "$F77" && test "X$F77" != "Xno"; then
15731 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15732 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15733 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15736 archive_cmds_need_lc_F77=no
15737 allow_undefined_flag_F77=
15738 always_export_symbols_F77=no
15739 archive_expsym_cmds_F77=
15740 export_dynamic_flag_spec_F77=
15741 hardcode_direct_F77=no
15742 hardcode_libdir_flag_spec_F77=
15743 hardcode_libdir_flag_spec_ld_F77=
15744 hardcode_libdir_separator_F77=
15745 hardcode_minus_L_F77=no
15746 hardcode_automatic_F77=no
15748 module_expsym_cmds_F77=
15749 link_all_deplibs_F77=unknown
15750 old_archive_cmds_F77=$old_archive_cmds
15751 no_undefined_flag_F77=
15752 whole_archive_flag_spec_F77=
15753 enable_shared_with_static_runtimes_F77=no
15755 # Source file extension for f77 test sources.
15758 # Object file extension for compiled f77 test sources.
15762 # Code to be used in simple compile tests
15763 lt_simple_compile_test_code="\
15769 # Code to be used in simple link tests
15770 lt_simple_link_test_code="\
15775 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15777 # If no C compiler was specified, use CC.
15780 # If no C compiler flags were specified, use CFLAGS.
15781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15783 # Allow CC to be a program name with arguments.
15787 # save warnings/boilerplate of simple test code
15788 ac_outfile=conftest.$ac_objext
15789 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15790 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15791 _lt_compiler_boilerplate=`cat conftest.err`
15794 ac_outfile=conftest.$ac_objext
15795 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15796 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15797 _lt_linker_boilerplate=`cat conftest.err`
15801 # Allow CC to be a program name with arguments.
15806 for cc_temp in $compiler""; do
15808 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15809 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15814 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15817 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15818 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15819 { echo "$as_me:$LINENO: result: $can_build_shared" >&5
15820 echo "${ECHO_T}$can_build_shared" >&6; }
15822 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15823 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15824 test "$can_build_shared" = "no" && enable_shared=no
15826 # On AIX, shared libraries and static libraries use the same namespace, and
15827 # are all built from PIC.
15830 test "$enable_shared" = yes && enable_static=no
15831 if test -n "$RANLIB"; then
15832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15833 postinstall_cmds='$RANLIB $lib'
15837 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15838 test "$enable_shared" = yes && enable_static=no
15842 { echo "$as_me:$LINENO: result: $enable_shared" >&5
15843 echo "${ECHO_T}$enable_shared" >&6; }
15845 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15846 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15847 # Make sure either enable_shared or enable_static is yes.
15848 test "$enable_shared" = yes || enable_static=yes
15849 { echo "$as_me:$LINENO: result: $enable_static" >&5
15850 echo "${ECHO_T}$enable_static" >&6; }
15855 lt_prog_compiler_wl_F77=
15856 lt_prog_compiler_pic_F77=
15857 lt_prog_compiler_static_F77=
15859 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15860 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15862 if test "$GCC" = yes; then
15863 lt_prog_compiler_wl_F77='-Wl,'
15864 lt_prog_compiler_static_F77='-static'
15868 # All AIX code is PIC.
15869 if test "$host_cpu" = ia64; then
15870 # AIX 5 now supports IA64 processor
15871 lt_prog_compiler_static_F77='-Bstatic'
15876 # FIXME: we need at least 68020 code to build shared libraries, but
15877 # adding the `-m68020' flag to GCC prevents building anything better,
15879 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15882 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15883 # PIC is the default for these OSes.
15886 mingw* | cygwin* | pw32* | os2*)
15887 # This hack is so that the source file can tell whether it is being
15888 # built for inclusion in a dll (and should export symbols for example).
15889 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15890 # (--disable-auto-import) libraries
15891 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15894 darwin* | rhapsody*)
15895 # PIC is the default on this platform
15896 # Common symbols not allowed in MH_DYLIB files
15897 lt_prog_compiler_pic_F77='-fno-common'
15901 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15902 # Instead, we relocate shared libraries at runtime.
15906 # Just because we use GCC doesn't mean we suddenly get shared libraries
15907 # on systems that don't support them.
15908 lt_prog_compiler_can_build_shared_F77=no
15913 if test -d /usr/nec; then
15914 lt_prog_compiler_pic_F77=-Kconform_pic
15919 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15920 # not for PA HP-UX.
15926 lt_prog_compiler_pic_F77='-fPIC'
15932 lt_prog_compiler_pic_F77='-fPIC'
15936 # PORTME Check for flag to pass linker flags through the system compiler.
15939 lt_prog_compiler_wl_F77='-Wl,'
15940 if test "$host_cpu" = ia64; then
15941 # AIX 5 now supports IA64 processor
15942 lt_prog_compiler_static_F77='-Bstatic'
15944 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15948 # PIC is the default on this platform
15949 # Common symbols not allowed in MH_DYLIB files
15950 case $cc_basename in
15952 lt_prog_compiler_pic_F77='-qnocommon'
15953 lt_prog_compiler_wl_F77='-Wl,'
15958 mingw* | cygwin* | pw32* | os2*)
15959 # This hack is so that the source file can tell whether it is being
15960 # built for inclusion in a dll (and should export symbols for example).
15961 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15964 hpux9* | hpux10* | hpux11*)
15965 lt_prog_compiler_wl_F77='-Wl,'
15966 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15967 # not for PA HP-UX.
15973 lt_prog_compiler_pic_F77='+Z'
15976 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15977 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15980 irix5* | irix6* | nonstopux*)
15981 lt_prog_compiler_wl_F77='-Wl,'
15982 # PIC (with -KPIC) is the default.
15983 lt_prog_compiler_static_F77='-non_shared'
15987 lt_prog_compiler_pic_F77='-KPIC'
15988 lt_prog_compiler_static_F77='-Bstatic'
15991 linux* | k*bsd*-gnu)
15992 case $cc_basename in
15994 lt_prog_compiler_wl_F77='-Wl,'
15995 lt_prog_compiler_pic_F77='-KPIC'
15996 lt_prog_compiler_static_F77='-static'
15998 pgcc* | pgf77* | pgf90* | pgf95*)
15999 # Portland Group compilers (*not* the Pentium gcc compiler,
16000 # which looks to be a dead project)
16001 lt_prog_compiler_wl_F77='-Wl,'
16002 lt_prog_compiler_pic_F77='-fpic'
16003 lt_prog_compiler_static_F77='-Bstatic'
16006 lt_prog_compiler_wl_F77='-Wl,'
16007 # All Alpha code is PIC.
16008 lt_prog_compiler_static_F77='-non_shared'
16011 case `$CC -V 2>&1 | sed 5q` in
16014 lt_prog_compiler_pic_F77='-KPIC'
16015 lt_prog_compiler_static_F77='-Bstatic'
16016 lt_prog_compiler_wl_F77='-Wl,'
16019 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16020 lt_prog_compiler_pic_F77='-KPIC'
16021 lt_prog_compiler_static_F77='-Bstatic'
16022 lt_prog_compiler_wl_F77=''
16029 osf3* | osf4* | osf5*)
16030 lt_prog_compiler_wl_F77='-Wl,'
16031 # All OSF/1 code is PIC.
16032 lt_prog_compiler_static_F77='-non_shared'
16036 lt_prog_compiler_static_F77='-non_shared'
16040 lt_prog_compiler_pic_F77='-KPIC'
16041 lt_prog_compiler_static_F77='-Bstatic'
16042 case $cc_basename in
16043 f77* | f90* | f95*)
16044 lt_prog_compiler_wl_F77='-Qoption ld ';;
16046 lt_prog_compiler_wl_F77='-Wl,';;
16051 lt_prog_compiler_wl_F77='-Qoption ld '
16052 lt_prog_compiler_pic_F77='-PIC'
16053 lt_prog_compiler_static_F77='-Bstatic'
16056 sysv4 | sysv4.2uw2* | sysv4.3*)
16057 lt_prog_compiler_wl_F77='-Wl,'
16058 lt_prog_compiler_pic_F77='-KPIC'
16059 lt_prog_compiler_static_F77='-Bstatic'
16063 if test -d /usr/nec ;then
16064 lt_prog_compiler_pic_F77='-Kconform_pic'
16065 lt_prog_compiler_static_F77='-Bstatic'
16069 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16070 lt_prog_compiler_wl_F77='-Wl,'
16071 lt_prog_compiler_pic_F77='-KPIC'
16072 lt_prog_compiler_static_F77='-Bstatic'
16076 lt_prog_compiler_wl_F77='-Wl,'
16077 lt_prog_compiler_can_build_shared_F77=no
16081 lt_prog_compiler_pic_F77='-pic'
16082 lt_prog_compiler_static_F77='-Bstatic'
16086 lt_prog_compiler_can_build_shared_F77=no
16091 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
16092 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
16095 # Check to make sure the PIC flag actually works.
16097 if test -n "$lt_prog_compiler_pic_F77"; then
16099 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16100 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
16101 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 lt_cv_prog_compiler_pic_works_F77=no
16105 ac_outfile=conftest.$ac_objext
16106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16107 lt_compiler_flag="$lt_prog_compiler_pic_F77"
16108 # Insert the option either (1) after the last *FLAGS variable, or
16109 # (2) before a word containing "conftest.", or (3) at the end.
16110 # Note that $ac_compile itself does not contain backslashes and begins
16111 # with a dollar sign (not a hyphen), so the echo should work correctly.
16112 # The option is referenced via a variable to avoid confusing sed.
16113 lt_compile=`echo "$ac_compile" | $SED \
16114 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16115 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16116 -e 's:$: $lt_compiler_flag:'`
16117 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16118 (eval "$lt_compile" 2>conftest.err)
16120 cat conftest.err >&5
16121 echo "$as_me:__oline__: \$? = $ac_status" >&5
16122 if (exit $ac_status) && test -s "$ac_outfile"; then
16123 # The compiler can only warn and ignore the option if not recognized
16124 # So say no if there are warnings other than the usual output.
16125 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16126 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16127 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16128 lt_cv_prog_compiler_pic_works_F77=yes
16134 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16135 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
16137 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16138 case $lt_prog_compiler_pic_F77 in
16140 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16143 lt_prog_compiler_pic_F77=
16144 lt_prog_compiler_can_build_shared_F77=no
16149 # For platforms which do not support PIC, -DPIC is meaningless:
16151 lt_prog_compiler_pic_F77=
16154 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16159 # Check to make sure the static flag actually works.
16161 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16162 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16163 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16164 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
16165 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 lt_cv_prog_compiler_static_works_F77=no
16168 save_LDFLAGS="$LDFLAGS"
16169 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16170 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16171 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16172 # The linker can only warn and ignore the option if not recognized
16173 # So say no if there are warnings
16174 if test -s conftest.err; then
16175 # Append any errors to the config.log.
16176 cat conftest.err 1>&5
16177 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16178 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16179 if diff conftest.exp conftest.er2 >/dev/null; then
16180 lt_cv_prog_compiler_static_works_F77=yes
16183 lt_cv_prog_compiler_static_works_F77=yes
16187 LDFLAGS="$save_LDFLAGS"
16190 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
16191 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
16193 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16196 lt_prog_compiler_static_F77=
16200 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16201 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16202 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16205 lt_cv_prog_compiler_c_o_F77=no
16206 $rm -r conftest 2>/dev/null
16210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16212 lt_compiler_flag="-o out/conftest2.$ac_objext"
16213 # Insert the option either (1) after the last *FLAGS variable, or
16214 # (2) before a word containing "conftest.", or (3) at the end.
16215 # Note that $ac_compile itself does not contain backslashes and begins
16216 # with a dollar sign (not a hyphen), so the echo should work correctly.
16217 lt_compile=`echo "$ac_compile" | $SED \
16218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16220 -e 's:$: $lt_compiler_flag:'`
16221 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
16222 (eval "$lt_compile" 2>out/conftest.err)
16224 cat out/conftest.err >&5
16225 echo "$as_me:__oline__: \$? = $ac_status" >&5
16226 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16228 # The compiler can only warn and ignore the option if not recognized
16229 # So say no if there are warnings
16230 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16231 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16232 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16233 lt_cv_prog_compiler_c_o_F77=yes
16238 # SGI C++ compiler will create directory out/ii_files/ for
16239 # template instantiation
16240 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16241 $rm out/* && rmdir out
16247 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
16248 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
16251 hard_links="nottested"
16252 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16253 # do not overwrite the value of need_locks provided by the user
16254 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16255 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16258 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16260 ln conftest.a conftest.b 2>&5 || hard_links=no
16261 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16262 { echo "$as_me:$LINENO: result: $hard_links" >&5
16263 echo "${ECHO_T}$hard_links" >&6; }
16264 if test "$hard_links" = no; then
16265 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16266 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16273 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16274 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16277 allow_undefined_flag_F77=
16278 enable_shared_with_static_runtimes_F77=no
16280 archive_expsym_cmds_F77=
16281 old_archive_From_new_cmds_F77=
16282 old_archive_from_expsyms_cmds_F77=
16283 export_dynamic_flag_spec_F77=
16284 whole_archive_flag_spec_F77=
16285 thread_safe_flag_spec_F77=
16286 hardcode_libdir_flag_spec_F77=
16287 hardcode_libdir_flag_spec_ld_F77=
16288 hardcode_libdir_separator_F77=
16289 hardcode_direct_F77=no
16290 hardcode_minus_L_F77=no
16291 hardcode_shlibpath_var_F77=unsupported
16292 link_all_deplibs_F77=unknown
16293 hardcode_automatic_F77=no
16295 module_expsym_cmds_F77=
16296 always_export_symbols_F77=no
16297 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16298 # include_expsyms should be a list of space-separated symbols to be *always*
16299 # included in the symbol list
16300 include_expsyms_F77=
16301 # exclude_expsyms can be an extended regexp of symbols to exclude
16302 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16303 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16304 # as well as any symbol that contains `d'.
16305 exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16306 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16307 # platforms (ab)use it in PIC code, but their linkers get confused if
16308 # the symbol is explicitly referenced. Since portable code cannot
16309 # rely on this symbol name, it's probably fine to never include it in
16310 # preloaded symbol tables.
16311 # Exclude shared library initialization/finalization symbols.
16312 extract_expsyms_cmds=
16313 # Just being paranoid about ensuring that cc_basename is set.
16314 for cc_temp in $compiler""; do
16316 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16317 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16322 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16325 cygwin* | mingw* | pw32*)
16326 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16327 # When not using gcc, we currently assume that we are using
16328 # Microsoft Visual C++.
16329 if test "$GCC" != yes; then
16334 # we just hope/assume this is gcc and not c89 (= MSVC++)
16343 if test "$with_gnu_ld" = yes; then
16344 # If archive_cmds runs LD, not CC, wlarc should be empty
16347 # Set some defaults for GNU ld with shared library support. These
16348 # are reset later if shared libraries are not supported. Putting them
16349 # here allows them to be overridden if necessary.
16350 runpath_var=LD_RUN_PATH
16351 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
16352 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16353 # ancient GNU ld didn't support --whole-archive et. al.
16354 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16355 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16357 whole_archive_flag_spec_F77=
16359 supports_anon_versioning=no
16360 case `$LD -v 2>/dev/null` in
16361 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16362 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16363 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16364 *\ 2.11.*) ;; # other 2.11 versions
16365 *) supports_anon_versioning=yes ;;
16368 # See if GNU ld supports shared libraries.
16371 # On AIX/PPC, the GNU linker is very broken
16372 if test "$host_cpu" != ia64; then
16376 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16377 *** to be unable to reliably create shared libraries on AIX.
16378 *** Therefore, libtool is disabling shared libraries support. If you
16379 *** really care for shared libraries, you may want to modify your PATH
16380 *** so that a non-GNU linker is found, and then restart.
16387 archive_cmds_F77='$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)'
16388 hardcode_libdir_flag_spec_F77='-L$libdir'
16389 hardcode_minus_L_F77=yes
16391 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16392 # that the semantics of dynamic libraries on AmigaOS, at least up
16393 # to version 4, is to share data among multiple programs linked
16394 # with the same dynamic library. Since this doesn't match the
16395 # behavior of shared libraries on other platforms, we can't use
16401 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16402 allow_undefined_flag_F77=unsupported
16403 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16404 # support --undefined. This deserves some investigation. FIXME
16405 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16411 cygwin* | mingw* | pw32*)
16412 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16413 # as there is no search path for DLLs.
16414 hardcode_libdir_flag_spec_F77='-L$libdir'
16415 allow_undefined_flag_F77=unsupported
16416 always_export_symbols_F77=no
16417 enable_shared_with_static_runtimes_F77=yes
16418 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16420 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16421 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16422 # If the export-symbols file already is a .def file (1st line
16423 # is EXPORTS), use it as is; otherwise, prepend...
16424 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16425 cp $export_symbols $output_objdir/$soname.def;
16427 echo EXPORTS > $output_objdir/$soname.def;
16428 cat $export_symbols >> $output_objdir/$soname.def;
16430 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16437 hardcode_direct_F77=no
16438 hardcode_shlibpath_var_F77=no
16439 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16440 export_dynamic_flag_spec_F77='${wl}-E'
16441 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16442 # Instead, shared libraries are loaded at an image base (0x10000000 by
16443 # default) and relocated if they conflict, which is a slow very memory
16444 # consuming and fragmenting process. To avoid this, we pick a random,
16445 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16446 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16447 archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16448 archive_expsym_cmds_F77='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'
16451 gnu* | linux* | k*bsd*-gnu)
16452 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16454 case $cc_basename,$host_cpu in
16455 pgcc*) # Portland Group C compiler
16456 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16457 tmp_addflag=' $pic_flag'
16459 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
16460 whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
16461 tmp_addflag=' $pic_flag -Mnomain' ;;
16462 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16463 tmp_addflag=' -i_dynamic' ;;
16464 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16465 tmp_addflag=' -i_dynamic -nofor_main' ;;
16466 ifc* | ifort*) # Intel Fortran compiler
16467 tmp_addflag=' -nofor_main' ;;
16469 case `$CC -V 2>&1 | sed 5q` in
16470 *Sun\ C*) # Sun C 5.9
16471 whole_archive_flag_spec_F77='${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'
16472 tmp_sharedflag='-G' ;;
16473 *Sun\ F*) # Sun Fortran 8.3
16474 tmp_sharedflag='-G' ;;
16476 tmp_sharedflag='-shared' ;;
16478 archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16480 if test $supports_anon_versioning = yes; then
16481 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
16482 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16483 $echo "local: *; };" >> $output_objdir/$libname.ver~
16484 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16492 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16493 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16496 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16497 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16502 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
16506 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16507 *** create shared libraries on Solaris systems. Therefore, libtool
16508 *** is disabling shared libraries support. We urge you to upgrade GNU
16509 *** binutils to release 2.9.1 or newer. Another option is to modify
16510 *** your PATH or compiler configuration so that the native linker is
16511 *** used, and then restart.
16514 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16515 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16516 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16522 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
16523 case `$LD -v 2>&1` in
16524 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
16528 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16529 *** reliably create shared libraries on SCO systems. Therefore, libtool
16530 *** is disabling shared libraries support. We urge you to upgrade GNU
16531 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16532 *** your PATH or compiler configuration so that the native linker is
16533 *** used, and then restart.
16538 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16539 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
16540 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
16541 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
16550 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16552 hardcode_direct_F77=yes
16553 hardcode_shlibpath_var_F77=no
16557 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16558 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16559 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16566 if test "$ld_shlibs_F77" = no; then
16568 hardcode_libdir_flag_spec_F77=
16569 export_dynamic_flag_spec_F77=
16570 whole_archive_flag_spec_F77=
16573 # PORTME fill in a description of your system's linker (not GNU ld)
16576 allow_undefined_flag_F77=unsupported
16577 always_export_symbols_F77=yes
16578 archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
16579 # Note: this linker hardcodes the directories in LIBPATH if there
16580 # are no directories specified by -L.
16581 hardcode_minus_L_F77=yes
16582 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16583 # Neither direct hardcoding nor static linking is supported with a
16585 hardcode_direct_F77=unsupported
16590 if test "$host_cpu" = ia64; then
16591 # On IA64, the linker does run time linking by default, so we don't
16592 # have to do anything special.
16593 aix_use_runtimelinking=no
16594 exp_sym_flag='-Bexport'
16597 # If we're using GNU nm, then we don't want the "-C" option.
16598 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16599 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
16600 export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16602 export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
16604 aix_use_runtimelinking=no
16606 # Test if we are trying to use run time linking or normal
16607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16608 # need to do runtime linking.
16609 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16610 for ld_flag in $LDFLAGS; do
16611 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16612 aix_use_runtimelinking=yes
16619 exp_sym_flag='-bexport'
16620 no_entry_flag='-bnoentry'
16623 # When large executables or shared objects are built, AIX ld can
16624 # have problems creating the table of contents. If linking a library
16625 # or program results in "error TOC overflow" add -mminimal-toc to
16626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16629 archive_cmds_F77=''
16630 hardcode_direct_F77=yes
16631 hardcode_libdir_separator_F77=':'
16632 link_all_deplibs_F77=yes
16634 if test "$GCC" = yes; then
16635 case $host_os in aix4.[012]|aix4.[012].*)
16636 # We only want to do this on AIX 4.2 and lower, the check
16637 # below for broken collect2 doesn't work under 4.3+
16638 collect2name=`${CC} -print-prog-name=collect2`
16639 if test -f "$collect2name" && \
16640 strings "$collect2name" | grep resolve_lib_name >/dev/null
16642 # We have reworked collect2
16645 # We have old collect2
16646 hardcode_direct_F77=unsupported
16647 # It fails to find uninstalled libraries when the uninstalled
16648 # path is not listed in the libpath. Setting hardcode_minus_L
16649 # to unsupported forces relinking
16650 hardcode_minus_L_F77=yes
16651 hardcode_libdir_flag_spec_F77='-L$libdir'
16652 hardcode_libdir_separator_F77=
16656 shared_flag='-shared'
16657 if test "$aix_use_runtimelinking" = yes; then
16658 shared_flag="$shared_flag "'${wl}-G'
16662 if test "$host_cpu" = ia64; then
16663 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16664 # chokes on -Wl,-G. The following line is correct:
16667 if test "$aix_use_runtimelinking" = yes; then
16668 shared_flag='${wl}-G'
16670 shared_flag='${wl}-bM:SRE'
16675 # It seems that -bexpall does not export symbols beginning with
16676 # underscore (_), so it is better to generate a list of symbols to export.
16677 always_export_symbols_F77=yes
16678 if test "$aix_use_runtimelinking" = yes; then
16679 # Warning - without using the other runtime loading flags (-brtl),
16680 # -berok will link without error, but may produce a broken library.
16681 allow_undefined_flag_F77='-berok'
16682 # Determine the default libpath from the value encoded in an empty executable.
16683 cat >conftest.$ac_ext <<_ACEOF
16688 rm -f conftest.$ac_objext conftest$ac_exeext
16689 if { (ac_try="$ac_link"
16690 case "(($ac_try" in
16691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16692 *) ac_try_echo=$ac_try;;
16694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16695 (eval "$ac_link") 2>conftest.er1
16697 grep -v '^ *+' conftest.er1 >conftest.err
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } && {
16702 test -z "$ac_f77_werror_flag" ||
16703 test ! -s conftest.err
16704 } && test -s conftest$ac_exeext &&
16705 $as_test_x conftest$ac_exeext; then
16707 lt_aix_libpath_sed='
16708 /Import File Strings/,/^$/ {
16714 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16715 # Check for a 64-bit object if we didn't find anything.
16716 if test -z "$aix_libpath"; then
16717 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16720 echo "$as_me: failed program was:" >&5
16721 sed 's/^/| /' conftest.$ac_ext >&5
16726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16727 conftest$ac_exeext conftest.$ac_ext
16728 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16730 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16731 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16733 if test "$host_cpu" = ia64; then
16734 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16735 allow_undefined_flag_F77="-z nodefs"
16736 archive_expsym_cmds_F77="\$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"
16738 # Determine the default libpath from the value encoded in an empty executable.
16739 cat >conftest.$ac_ext <<_ACEOF
16744 rm -f conftest.$ac_objext conftest$ac_exeext
16745 if { (ac_try="$ac_link"
16746 case "(($ac_try" in
16747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_link") 2>conftest.er1
16753 grep -v '^ *+' conftest.er1 >conftest.err
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } && {
16758 test -z "$ac_f77_werror_flag" ||
16759 test ! -s conftest.err
16760 } && test -s conftest$ac_exeext &&
16761 $as_test_x conftest$ac_exeext; then
16763 lt_aix_libpath_sed='
16764 /Import File Strings/,/^$/ {
16770 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16771 # Check for a 64-bit object if we didn't find anything.
16772 if test -z "$aix_libpath"; then
16773 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16783 conftest$ac_exeext conftest.$ac_ext
16784 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16786 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16787 # Warning - without using the other run time loading flags,
16788 # -berok will link without error, but may produce a broken library.
16789 no_undefined_flag_F77=' ${wl}-bernotok'
16790 allow_undefined_flag_F77=' ${wl}-berok'
16791 # Exported symbols can be pulled into shared objects from archives
16792 whole_archive_flag_spec_F77='$convenience'
16793 archive_cmds_need_lc_F77=yes
16794 # This is similar to how AIX traditionally builds its shared libraries.
16795 archive_expsym_cmds_F77="\$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'
16801 archive_cmds_F77='$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)'
16802 hardcode_libdir_flag_spec_F77='-L$libdir'
16803 hardcode_minus_L_F77=yes
16804 # see comment about different semantics on the GNU ld section
16809 export_dynamic_flag_spec_F77=-rdynamic
16812 cygwin* | mingw* | pw32*)
16813 # When not using gcc, we currently assume that we are using
16814 # Microsoft Visual C++.
16815 # hardcode_libdir_flag_spec is actually meaningless, as there is
16816 # no search path for DLLs.
16817 hardcode_libdir_flag_spec_F77=' '
16818 allow_undefined_flag_F77=unsupported
16819 # Tell ltmain to make .lib files, not .a files.
16821 # Tell ltmain to make .dll files, not .so files.
16823 # FIXME: Setting linknames here is a bad hack.
16824 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16825 # The linker will automatically build a .lib file if we build a DLL.
16826 old_archive_From_new_cmds_F77='true'
16827 # FIXME: Should let the user specify the lib program.
16828 old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16829 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16830 enable_shared_with_static_runtimes_F77=yes
16833 darwin* | rhapsody*)
16835 rhapsody* | darwin1.[012])
16836 allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16839 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16840 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16842 case ${MACOSX_DEPLOYMENT_TARGET} in
16844 allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16847 allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16853 archive_cmds_need_lc_F77=no
16854 hardcode_direct_F77=no
16855 hardcode_automatic_F77=yes
16856 hardcode_shlibpath_var_F77=unsupported
16857 whole_archive_flag_spec_F77=''
16858 link_all_deplibs_F77=yes
16859 if test "$GCC" = yes ; then
16860 output_verbose_link_cmd='echo'
16861 archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16862 module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16863 archive_expsym_cmds_F77="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}"
16864 module_expsym_cmds_F77="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}"
16866 case $cc_basename in
16868 output_verbose_link_cmd='echo'
16869 archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16870 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16871 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16872 archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16873 module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16883 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16884 hardcode_libdir_flag_spec_F77='-L$libdir'
16885 hardcode_shlibpath_var_F77=no
16892 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16893 # support. Future versions do this automatically, but an explicit c++rt0.o
16894 # does not break anything, and helps significantly (at the cost of a little
16897 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16898 hardcode_libdir_flag_spec_F77='-R$libdir'
16899 hardcode_direct_F77=yes
16900 hardcode_shlibpath_var_F77=no
16903 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16905 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16906 hardcode_direct_F77=yes
16907 hardcode_minus_L_F77=yes
16908 hardcode_shlibpath_var_F77=no
16911 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16912 freebsd* | dragonfly*)
16913 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16914 hardcode_libdir_flag_spec_F77='-R$libdir'
16915 hardcode_direct_F77=yes
16916 hardcode_shlibpath_var_F77=no
16920 if test "$GCC" = yes; then
16921 archive_cmds_F77='$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'
16923 archive_cmds_F77='$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'
16925 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16926 hardcode_libdir_separator_F77=:
16927 hardcode_direct_F77=yes
16929 # hardcode_minus_L: Not really in the search PATH,
16930 # but as the default location of the library.
16931 hardcode_minus_L_F77=yes
16932 export_dynamic_flag_spec_F77='${wl}-E'
16936 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16937 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16939 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16941 if test "$with_gnu_ld" = no; then
16942 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16943 hardcode_libdir_separator_F77=:
16945 hardcode_direct_F77=yes
16946 export_dynamic_flag_spec_F77='${wl}-E'
16948 # hardcode_minus_L: Not really in the search PATH,
16949 # but as the default location of the library.
16950 hardcode_minus_L_F77=yes
16955 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16958 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16961 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16964 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16970 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16973 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16976 archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16980 if test "$with_gnu_ld" = no; then
16981 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16982 hardcode_libdir_separator_F77=:
16986 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16987 hardcode_direct_F77=no
16988 hardcode_shlibpath_var_F77=no
16991 hardcode_direct_F77=yes
16992 export_dynamic_flag_spec_F77='${wl}-E'
16994 # hardcode_minus_L: Not really in the search PATH,
16995 # but as the default location of the library.
16996 hardcode_minus_L_F77=yes
17002 irix5* | irix6* | nonstopux*)
17003 if test "$GCC" = yes; then
17004 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17006 archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17007 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
17009 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17010 hardcode_libdir_separator_F77=:
17011 link_all_deplibs_F77=yes
17015 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17016 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17018 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17020 hardcode_libdir_flag_spec_F77='-R$libdir'
17021 hardcode_direct_F77=yes
17022 hardcode_shlibpath_var_F77=no
17026 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17027 hardcode_direct_F77=yes
17028 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17029 hardcode_libdir_separator_F77=:
17030 hardcode_shlibpath_var_F77=no
17034 if test -f /usr/libexec/ld.so; then
17035 hardcode_direct_F77=yes
17036 hardcode_shlibpath_var_F77=no
17037 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17038 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17039 archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17040 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17041 export_dynamic_flag_spec_F77='${wl}-E'
17044 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17045 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17046 hardcode_libdir_flag_spec_F77='-R$libdir'
17049 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17050 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17060 hardcode_libdir_flag_spec_F77='-L$libdir'
17061 hardcode_minus_L_F77=yes
17062 allow_undefined_flag_F77=unsupported
17063 archive_cmds_F77='$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'
17064 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17068 if test "$GCC" = yes; then
17069 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17070 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17072 allow_undefined_flag_F77=' -expect_unresolved \*'
17073 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17075 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17076 hardcode_libdir_separator_F77=:
17079 osf4* | osf5*) # as osf3* with the addition of -msym flag
17080 if test "$GCC" = yes; then
17081 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17082 archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17083 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17085 allow_undefined_flag_F77=' -expect_unresolved \*'
17086 archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17087 archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17088 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17090 # Both c and cxx compiler support -rpath directly
17091 hardcode_libdir_flag_spec_F77='-rpath $libdir'
17093 hardcode_libdir_separator_F77=:
17097 no_undefined_flag_F77=' -z text'
17098 if test "$GCC" = yes; then
17100 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17101 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17102 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17105 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17106 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17107 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17109 hardcode_libdir_flag_spec_F77='-R$libdir'
17110 hardcode_shlibpath_var_F77=no
17112 solaris2.[0-5] | solaris2.[0-5].*) ;;
17114 # The compiler driver will combine and reorder linker options,
17115 # but understands `-z linker_flag'. GCC discards it without `$wl',
17116 # but is careful enough not to reorder.
17117 # Supported since Solaris 2.6 (maybe 2.5.1?)
17118 if test "$GCC" = yes; then
17119 whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17121 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17125 link_all_deplibs_F77=yes
17129 if test "x$host_vendor" = xsequent; then
17130 # Use $CC to link under sequent, because it throws in some extra .o
17131 # files that make .init and .fini sections work.
17132 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17134 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17136 hardcode_libdir_flag_spec_F77='-L$libdir'
17137 hardcode_direct_F77=yes
17138 hardcode_minus_L_F77=yes
17139 hardcode_shlibpath_var_F77=no
17143 case $host_vendor in
17145 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17146 hardcode_direct_F77=yes # is this really true???
17149 ## LD is ld it makes a PLAMLIB
17150 ## CC just makes a GrossModule.
17151 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17152 reload_cmds_F77='$CC -r -o $output$reload_objs'
17153 hardcode_direct_F77=no
17156 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17157 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17160 runpath_var='LD_RUN_PATH'
17161 hardcode_shlibpath_var_F77=no
17165 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17166 hardcode_shlibpath_var_F77=no
17167 export_dynamic_flag_spec_F77='-Bexport'
17171 if test -d /usr/nec; then
17172 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17173 hardcode_shlibpath_var_F77=no
17174 runpath_var=LD_RUN_PATH
17175 hardcode_runpath_var=yes
17180 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17181 no_undefined_flag_F77='${wl}-z,text'
17182 archive_cmds_need_lc_F77=no
17183 hardcode_shlibpath_var_F77=no
17184 runpath_var='LD_RUN_PATH'
17186 if test "$GCC" = yes; then
17187 archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17188 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17190 archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17191 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17195 sysv5* | sco3.2v5* | sco5v6*)
17196 # Note: We can NOT use -z defs as we might desire, because we do not
17197 # link with -lc, and that would cause any symbols used from libc to
17198 # always be unresolved, which means just about no library would
17199 # ever link correctly. If we're not using GNU ld we use -z text
17200 # though, which does catch some bad symbols but isn't as heavy-handed
17202 no_undefined_flag_F77='${wl}-z,text'
17203 allow_undefined_flag_F77='${wl}-z,nodefs'
17204 archive_cmds_need_lc_F77=no
17205 hardcode_shlibpath_var_F77=no
17206 hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17207 hardcode_libdir_separator_F77=':'
17208 link_all_deplibs_F77=yes
17209 export_dynamic_flag_spec_F77='${wl}-Bexport'
17210 runpath_var='LD_RUN_PATH'
17212 if test "$GCC" = yes; then
17213 archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17214 archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17216 archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17217 archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17222 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17223 hardcode_libdir_flag_spec_F77='-L$libdir'
17224 hardcode_shlibpath_var_F77=no
17233 { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
17234 echo "${ECHO_T}$ld_shlibs_F77" >&6; }
17235 test "$ld_shlibs_F77" = no && can_build_shared=no
17238 # Do we need to explicitly link libc?
17240 case "x$archive_cmds_need_lc_F77" in
17242 # Assume -lc should be added
17243 archive_cmds_need_lc_F77=yes
17245 if test "$enable_shared" = yes && test "$GCC" = yes; then
17246 case $archive_cmds_F77 in
17248 # FIXME: we may have to deal with multi-command sequences.
17251 # Test whether the compiler implicitly links with -lc since on some
17252 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17253 # to ld, don't add -lc before -lgcc.
17254 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17255 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17257 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17260 (eval $ac_compile) 2>&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } 2>conftest.err; then
17266 libobjs=conftest.$ac_objext
17268 wl=$lt_prog_compiler_wl_F77
17269 pic_flag=$lt_prog_compiler_pic_F77
17275 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17276 allow_undefined_flag_F77=
17277 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17278 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }
17283 archive_cmds_need_lc_F77=no
17285 archive_cmds_need_lc_F77=yes
17287 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17289 cat conftest.err 1>&5
17292 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
17293 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
17300 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17301 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17302 library_names_spec=
17303 libname_spec='lib$name'
17307 postuninstall_cmds=
17311 shlibpath_overrides_runpath=unknown
17313 dynamic_linker="$host_os ld.so"
17314 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17316 need_lib_prefix=unknown
17317 hardcode_into_libs=no
17319 # when you set need_version to no, make sure it does not cause -set_version
17320 # flags to be left without arguments
17321 need_version=unknown
17326 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17327 shlibpath_var=LIBPATH
17329 # AIX 3 has no versioning support, so we append a major version to the name.
17330 soname_spec='${libname}${release}${shared_ext}$major'
17337 hardcode_into_libs=yes
17338 if test "$host_cpu" = ia64; then
17339 # AIX 5 supports IA64
17340 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17341 shlibpath_var=LD_LIBRARY_PATH
17343 # With GCC up to 2.95.x, collect2 would create an import file
17344 # for dependence libraries. The import file would start with
17345 # the line `#! .'. This would cause the generated library to
17346 # depend on `.', always an invalid library. This was fixed in
17347 # development snapshots of GCC prior to 3.0.
17349 aix4 | aix4.[01] | aix4.[01].*)
17350 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17352 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17355 can_build_shared=no
17359 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17360 # soname into executable. Probably we can add versioning support to
17361 # collect2, so additional links can be useful in future.
17362 if test "$aix_use_runtimelinking" = yes; then
17363 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17364 # instead of lib<name>.a to let people know that these are not
17365 # typical AIX shared libraries.
17366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17368 # We preserve .a as extension for shared libraries through AIX4.2
17369 # and later when we are not doing run time linking.
17370 library_names_spec='${libname}${release}.a $libname.a'
17371 soname_spec='${libname}${release}${shared_ext}$major'
17373 shlibpath_var=LIBPATH
17378 library_names_spec='$libname.ixlibrary $libname.a'
17379 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17380 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'
17384 library_names_spec='${libname}${shared_ext}'
17385 dynamic_linker="$host_os ld.so"
17386 shlibpath_var=LIBRARY_PATH
17392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17393 soname_spec='${libname}${release}${shared_ext}$major'
17394 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17395 shlibpath_var=LD_LIBRARY_PATH
17396 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17397 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17398 # the default ld.so.conf also contains /usr/contrib/lib and
17399 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17400 # libtool to hard-code these into programs
17403 cygwin* | mingw* | pw32*)
17404 version_type=windows
17409 case $GCC,$host_os in
17410 yes,cygwin* | yes,mingw* | yes,pw32*)
17411 library_names_spec='$libname.dll.a'
17412 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17413 postinstall_cmds='base_file=`basename \${file}`~
17414 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17415 dldir=$destdir/`dirname \$dlpath`~
17416 test -d \$dldir || mkdir -p \$dldir~
17417 $install_prog $dir/$dlname \$dldir/$dlname~
17418 chmod a+x \$dldir/$dlname'
17419 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17420 dlpath=$dir/\$dldll~
17422 shlibpath_overrides_runpath=yes
17426 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17427 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17428 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17431 # MinGW DLLs use traditional 'lib' prefix
17432 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17433 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17434 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17435 # It is most probably a Windows format PATH printed by
17436 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17437 # path with ; separators, and with drive letters. We can handle the
17438 # drive letters (cygwin fileutils understands them), so leave them,
17439 # especially as we might pass files found there to a mingw objdump,
17440 # which wouldn't understand a cygwinified path. Ahh.
17441 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17443 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17447 # pw32 DLLs use 'pw' prefix rather than 'lib'
17448 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17454 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17457 dynamic_linker='Win32 ld.exe'
17458 # FIXME: first we should search . and the directory the executable is in
17462 darwin* | rhapsody*)
17463 dynamic_linker="$host_os dyld"
17464 version_type=darwin
17467 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17468 soname_spec='${libname}${release}${major}$shared_ext'
17469 shlibpath_overrides_runpath=yes
17470 shlibpath_var=DYLD_LIBRARY_PATH
17471 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17473 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17481 soname_spec='${libname}${release}${shared_ext}$major'
17482 shlibpath_var=LD_LIBRARY_PATH
17489 freebsd* | dragonfly*)
17490 # DragonFly does not have aout. When/if they implement a new
17491 # versioning mechanism, adjust this.
17492 if test -x /usr/bin/objformat; then
17493 objformat=`/usr/bin/objformat`
17496 freebsd[123]*) objformat=aout ;;
17497 *) objformat=elf ;;
17500 version_type=freebsd-$objformat
17501 case $version_type in
17503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17508 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17512 shlibpath_var=LD_LIBRARY_PATH
17515 shlibpath_overrides_runpath=yes
17517 freebsd3.[01]* | freebsdelf3.[01]*)
17518 shlibpath_overrides_runpath=yes
17519 hardcode_into_libs=yes
17521 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17522 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17523 shlibpath_overrides_runpath=no
17524 hardcode_into_libs=yes
17526 *) # from 4.6 on, and DragonFly
17527 shlibpath_overrides_runpath=yes
17528 hardcode_into_libs=yes
17537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17538 soname_spec='${libname}${release}${shared_ext}$major'
17539 shlibpath_var=LD_LIBRARY_PATH
17540 hardcode_into_libs=yes
17543 hpux9* | hpux10* | hpux11*)
17544 # Give a soname corresponding to the major version so that dld.sl refuses to
17545 # link against other versions.
17552 hardcode_into_libs=yes
17553 dynamic_linker="$host_os dld.so"
17554 shlibpath_var=LD_LIBRARY_PATH
17555 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17557 soname_spec='${libname}${release}${shared_ext}$major'
17558 if test "X$HPUX_IA64_MODE" = X32; then
17559 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17561 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17563 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17567 hardcode_into_libs=yes
17568 dynamic_linker="$host_os dld.sl"
17569 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17570 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17572 soname_spec='${libname}${release}${shared_ext}$major'
17573 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17574 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17578 dynamic_linker="$host_os dld.sl"
17579 shlibpath_var=SHLIB_PATH
17580 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17582 soname_spec='${libname}${release}${shared_ext}$major'
17585 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17586 postinstall_cmds='chmod 555 $lib'
17593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17594 soname_spec='${libname}${release}${shared_ext}$major'
17595 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17596 shlibpath_var=LD_LIBRARY_PATH
17597 shlibpath_overrides_runpath=no
17598 hardcode_into_libs=yes
17601 irix5* | irix6* | nonstopux*)
17603 nonstopux*) version_type=nonstopux ;;
17605 if test "$lt_cv_prog_gnu_ld" = yes; then
17613 soname_spec='${libname}${release}${shared_ext}$major'
17614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17616 irix5* | nonstopux*)
17617 libsuff= shlibsuff=
17620 case $LD in # libtool.m4 will add one of these switches to LD
17621 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17622 libsuff= shlibsuff= libmagic=32-bit;;
17623 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17624 libsuff=32 shlibsuff=N32 libmagic=N32;;
17625 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17626 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17627 *) libsuff= shlibsuff= libmagic=never-match;;
17631 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17632 shlibpath_overrides_runpath=no
17633 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17634 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17635 hardcode_into_libs=yes
17638 # No shared lib support for Linux oldld, aout, or coff.
17639 linux*oldld* | linux*aout* | linux*coff*)
17643 # This must be Linux ELF.
17644 linux* | k*bsd*-gnu)
17648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17649 soname_spec='${libname}${release}${shared_ext}$major'
17650 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17651 shlibpath_var=LD_LIBRARY_PATH
17652 shlibpath_overrides_runpath=no
17653 # This implies no fast_install, which is unacceptable.
17654 # Some rework will be needed to allow for fast_install
17655 # before this can be enabled.
17656 hardcode_into_libs=yes
17658 # Append ld.so.conf contents to the search path
17659 if test -f /etc/ld.so.conf; then
17660 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' ' '`
17661 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17664 # We used to test for /lib/ld.so.1 and disable shared libraries on
17665 # powerpc, because MkLinux only supported shared libraries with the
17666 # GNU dynamic linker. Since this was broken with cross compilers,
17667 # most powerpc-linux boxes support dynamic linking these days and
17668 # people can always --disable-shared, the test was removed, and we
17669 # assume the GNU/Linux dynamic linker is in use.
17670 dynamic_linker='GNU/Linux ld.so'
17677 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17679 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17680 dynamic_linker='NetBSD (a.out) ld.so'
17682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17683 soname_spec='${libname}${release}${shared_ext}$major'
17684 dynamic_linker='NetBSD ld.elf_so'
17686 shlibpath_var=LD_LIBRARY_PATH
17687 shlibpath_overrides_runpath=yes
17688 hardcode_into_libs=yes
17693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17694 shlibpath_var=LD_LIBRARY_PATH
17695 shlibpath_overrides_runpath=yes
17702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17703 soname_spec='${libname}${release}${shared_ext}$major'
17704 shlibpath_var=LD_LIBRARY_PATH
17705 shlibpath_overrides_runpath=yes
17710 sys_lib_dlsearch_path_spec="/usr/lib"
17712 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17714 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17715 *) need_version=no ;;
17717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17718 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17719 shlibpath_var=LD_LIBRARY_PATH
17720 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17722 openbsd2.[89] | openbsd2.[89].*)
17723 shlibpath_overrides_runpath=no
17726 shlibpath_overrides_runpath=yes
17730 shlibpath_overrides_runpath=yes
17735 libname_spec='$name'
17738 library_names_spec='$libname${shared_ext} $libname.a'
17739 dynamic_linker='OS/2 ld.exe'
17740 shlibpath_var=LIBPATH
17743 osf3* | osf4* | osf5*)
17747 soname_spec='${libname}${release}${shared_ext}$major'
17748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17749 shlibpath_var=LD_LIBRARY_PATH
17750 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17751 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17763 soname_spec='${libname}${release}${shared_ext}$major'
17764 shlibpath_var=LD_LIBRARY_PATH
17765 shlibpath_overrides_runpath=yes
17766 hardcode_into_libs=yes
17767 # ldd complains unless libraries are executable
17768 postinstall_cmds='chmod +x $lib'
17773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17774 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17775 shlibpath_var=LD_LIBRARY_PATH
17776 shlibpath_overrides_runpath=yes
17777 if test "$with_gnu_ld" = yes; then
17785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17786 soname_spec='${libname}${release}${shared_ext}$major'
17787 shlibpath_var=LD_LIBRARY_PATH
17788 case $host_vendor in
17790 shlibpath_overrides_runpath=no
17792 export_dynamic_flag_spec='${wl}-Blargedynsym'
17793 runpath_var=LD_RUN_PATH
17801 shlibpath_overrides_runpath=no
17802 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17808 if test -d /usr/nec ;then
17810 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17811 soname_spec='$libname${shared_ext}.$major'
17812 shlibpath_var=LD_LIBRARY_PATH
17816 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17817 version_type=freebsd-elf
17820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17821 soname_spec='${libname}${release}${shared_ext}$major'
17822 shlibpath_var=LD_LIBRARY_PATH
17823 hardcode_into_libs=yes
17824 if test "$with_gnu_ld" = yes; then
17825 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17826 shlibpath_overrides_runpath=no
17828 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17829 shlibpath_overrides_runpath=yes
17832 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17836 sys_lib_dlsearch_path_spec='/usr/lib'
17841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17842 soname_spec='${libname}${release}${shared_ext}$major'
17843 shlibpath_var=LD_LIBRARY_PATH
17850 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17851 echo "${ECHO_T}$dynamic_linker" >&6; }
17852 test "$dynamic_linker" = no && can_build_shared=no
17854 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17860 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17861 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17862 echo $ECHO_N "(cached) $ECHO_C" >&6
17864 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17867 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17870 if test "$GCC" = yes; then
17871 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17874 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17875 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17876 hardcode_action_F77=
17877 if test -n "$hardcode_libdir_flag_spec_F77" || \
17878 test -n "$runpath_var_F77" || \
17879 test "X$hardcode_automatic_F77" = "Xyes" ; then
17881 # We can hardcode non-existant directories.
17882 if test "$hardcode_direct_F77" != no &&
17883 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17884 # have to relink, otherwise we might link with an installed library
17885 # when we should be linking with a yet-to-be-installed one
17886 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17887 test "$hardcode_minus_L_F77" != no; then
17888 # Linking always hardcodes the temporary library directory.
17889 hardcode_action_F77=relink
17891 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17892 hardcode_action_F77=immediate
17895 # We cannot hardcode anything, or else we can only hardcode existing
17897 hardcode_action_F77=unsupported
17899 { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17900 echo "${ECHO_T}$hardcode_action_F77" >&6; }
17902 if test "$hardcode_action_F77" = relink; then
17903 # Fast installation is not supported
17904 enable_fast_install=no
17905 elif test "$shlibpath_overrides_runpath" = yes ||
17906 test "$enable_shared" = no; then
17907 # Fast installation is not necessary
17908 enable_fast_install=needless
17912 # The else clause should only fire when bootstrapping the
17913 # libtool distribution, otherwise you forgot to ship ltmain.sh
17914 # with your package, and you will get complaints that there are
17915 # no rules to generate ltmain.sh.
17916 if test -f "$ltmain"; then
17917 # See if we are running on zsh, and set the options which allow our commands through
17918 # without removal of \ escapes.
17919 if test -n "${ZSH_VERSION+set}" ; then
17920 setopt NO_GLOB_SUBST
17922 # Now quote all the things that may contain metacharacters while being
17923 # careful not to overquote the AC_SUBSTed values. We take copies of the
17924 # variables and quote the copies for generation of the libtool script.
17925 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17927 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17928 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17929 deplibs_check_method reload_flag reload_cmds need_locks \
17930 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17931 lt_cv_sys_global_symbol_to_c_name_address \
17932 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17933 old_postinstall_cmds old_postuninstall_cmds \
17937 lt_prog_compiler_wl_F77 \
17938 lt_prog_compiler_pic_F77 \
17939 lt_prog_compiler_static_F77 \
17940 lt_prog_compiler_no_builtin_flag_F77 \
17941 export_dynamic_flag_spec_F77 \
17942 thread_safe_flag_spec_F77 \
17943 whole_archive_flag_spec_F77 \
17944 enable_shared_with_static_runtimes_F77 \
17945 old_archive_cmds_F77 \
17946 old_archive_from_new_cmds_F77 \
17947 predep_objects_F77 \
17948 postdep_objects_F77 \
17951 compiler_lib_search_path_F77 \
17952 compiler_lib_search_dirs_F77 \
17954 archive_expsym_cmds_F77 \
17955 postinstall_cmds_F77 \
17956 postuninstall_cmds_F77 \
17957 old_archive_from_expsyms_cmds_F77 \
17958 allow_undefined_flag_F77 \
17959 no_undefined_flag_F77 \
17960 export_symbols_cmds_F77 \
17961 hardcode_libdir_flag_spec_F77 \
17962 hardcode_libdir_flag_spec_ld_F77 \
17963 hardcode_libdir_separator_F77 \
17964 hardcode_automatic_F77 \
17966 module_expsym_cmds_F77 \
17967 lt_cv_prog_compiler_c_o_F77 \
17968 fix_srcfile_path_F77 \
17969 exclude_expsyms_F77 \
17970 include_expsyms_F77; do
17973 old_archive_cmds_F77 | \
17974 old_archive_from_new_cmds_F77 | \
17975 archive_cmds_F77 | \
17976 archive_expsym_cmds_F77 | \
17977 module_cmds_F77 | \
17978 module_expsym_cmds_F77 | \
17979 old_archive_from_expsyms_cmds_F77 | \
17980 export_symbols_cmds_F77 | \
17981 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17982 postinstall_cmds | postuninstall_cmds | \
17983 old_postinstall_cmds | old_postuninstall_cmds | \
17984 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17985 # Double-quote double-evaled strings.
17986 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17989 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17995 *'\$0 --fallback-echo"')
17996 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18002 cat <<__EOF__ >> "$cfgfile"
18003 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18005 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18007 # Shell to use when invoking shell scripts.
18010 # Whether or not to build shared libraries.
18011 build_libtool_libs=$enable_shared
18013 # Whether or not to build static libraries.
18014 build_old_libs=$enable_static
18016 # Whether or not to add -lc for building shared libraries.
18017 build_libtool_need_lc=$archive_cmds_need_lc_F77
18019 # Whether or not to disallow shared libs when runtime libs are static
18020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
18022 # Whether or not to optimize for fast installation.
18023 fast_install=$enable_fast_install
18026 host_alias=$host_alias
18030 # The build system.
18031 build_alias=$build_alias
18035 # An echo program that does not interpret backslashes.
18040 AR_FLAGS=$lt_AR_FLAGS
18045 # LTCC compiler flags.
18046 LTCFLAGS=$lt_LTCFLAGS
18048 # A language-specific compiler.
18049 CC=$lt_compiler_F77
18051 # Is the compiler the GNU C compiler?
18057 # The linker used to build libraries.
18060 # Whether we need hard or soft links.
18063 # A BSD-compatible nm program.
18066 # A symbol stripping program
18069 # Used to examine libraries when file_magic_cmd begins "file"
18070 MAGIC_CMD=$MAGIC_CMD
18072 # Used on cygwin: DLL creation program.
18075 # Used on cygwin: object dumper.
18078 # Used on cygwin: assembler.
18081 # The name of the directory that contains temporary libtool files.
18084 # How to create reloadable object files.
18085 reload_flag=$lt_reload_flag
18086 reload_cmds=$lt_reload_cmds
18088 # How to pass a linker flag through the compiler.
18089 wl=$lt_lt_prog_compiler_wl_F77
18091 # Object file suffix (normally "o").
18092 objext="$ac_objext"
18094 # Old archive suffix (normally "a").
18097 # Shared library suffix (normally ".so").
18098 shrext_cmds='$shrext_cmds'
18100 # Executable file suffix (normally "").
18103 # Additional compiler flags for building library objects.
18104 pic_flag=$lt_lt_prog_compiler_pic_F77
18107 # What is the maximum length of a command?
18108 max_cmd_len=$lt_cv_sys_max_cmd_len
18110 # Does compiler simultaneously support -c and -o options?
18111 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
18113 # Must we lock files when doing compilation?
18114 need_locks=$lt_need_locks
18116 # Do we need the lib prefix for modules?
18117 need_lib_prefix=$need_lib_prefix
18119 # Do we need a version for libraries?
18120 need_version=$need_version
18122 # Whether dlopen is supported.
18123 dlopen_support=$enable_dlopen
18125 # Whether dlopen of programs is supported.
18126 dlopen_self=$enable_dlopen_self
18128 # Whether dlopen of statically linked programs is supported.
18129 dlopen_self_static=$enable_dlopen_self_static
18131 # Compiler flag to prevent dynamic linking.
18132 link_static_flag=$lt_lt_prog_compiler_static_F77
18134 # Compiler flag to turn off builtin functions.
18135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
18137 # Compiler flag to allow reflexive dlopens.
18138 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
18140 # Compiler flag to generate shared objects directly from archives.
18141 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
18143 # Compiler flag to generate thread-safe objects.
18144 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
18146 # Library versioning type.
18147 version_type=$version_type
18149 # Format of library name prefix.
18150 libname_spec=$lt_libname_spec
18152 # List of archive names. First name is the real one, the rest are links.
18153 # The last name is the one that the linker finds with -lNAME.
18154 library_names_spec=$lt_library_names_spec
18156 # The coded name of the library, if different from the real name.
18157 soname_spec=$lt_soname_spec
18159 # Commands used to build and install an old-style archive.
18161 old_archive_cmds=$lt_old_archive_cmds_F77
18162 old_postinstall_cmds=$lt_old_postinstall_cmds
18163 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18165 # Create an old-style archive from a shared archive.
18166 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
18168 # Create a temporary old-style archive to link instead of a shared archive.
18169 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
18171 # Commands used to build and install a shared archive.
18172 archive_cmds=$lt_archive_cmds_F77
18173 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
18174 postinstall_cmds=$lt_postinstall_cmds
18175 postuninstall_cmds=$lt_postuninstall_cmds
18177 # Commands used to build a loadable module (assumed same as above if empty)
18178 module_cmds=$lt_module_cmds_F77
18179 module_expsym_cmds=$lt_module_expsym_cmds_F77
18181 # Commands to strip libraries.
18182 old_striplib=$lt_old_striplib
18183 striplib=$lt_striplib
18185 # Dependencies to place before the objects being linked to create a
18187 predep_objects=$lt_predep_objects_F77
18189 # Dependencies to place after the objects being linked to create a
18191 postdep_objects=$lt_postdep_objects_F77
18193 # Dependencies to place before the objects being linked to create a
18195 predeps=$lt_predeps_F77
18197 # Dependencies to place after the objects being linked to create a
18199 postdeps=$lt_postdeps_F77
18201 # The directories searched by this compiler when creating a shared
18203 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
18205 # The library search path used internally by the compiler when linking
18206 # a shared library.
18207 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
18209 # Method to check whether dependent libraries are shared objects.
18210 deplibs_check_method=$lt_deplibs_check_method
18212 # Command to use when deplibs_check_method == file_magic.
18213 file_magic_cmd=$lt_file_magic_cmd
18215 # Flag that allows shared libraries with undefined symbols to be built.
18216 allow_undefined_flag=$lt_allow_undefined_flag_F77
18218 # Flag that forces no undefined symbols.
18219 no_undefined_flag=$lt_no_undefined_flag_F77
18221 # Commands used to finish a libtool library installation in a directory.
18222 finish_cmds=$lt_finish_cmds
18224 # Same as above, but a single script fragment to be evaled but not shown.
18225 finish_eval=$lt_finish_eval
18227 # Take the output of nm and produce a listing of raw symbols and C names.
18228 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18230 # Transform the output of nm in a proper C declaration
18231 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18233 # Transform the output of nm in a C name address pair
18234 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18236 # This is the shared library runtime path variable.
18237 runpath_var=$runpath_var
18239 # This is the shared library path variable.
18240 shlibpath_var=$shlibpath_var
18242 # Is shlibpath searched before the hard-coded library search path?
18243 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18245 # How to hardcode a shared library path into an executable.
18246 hardcode_action=$hardcode_action_F77
18248 # Whether we should hardcode library paths into libraries.
18249 hardcode_into_libs=$hardcode_into_libs
18251 # Flag to hardcode \$libdir into a binary during linking.
18252 # This must work even if \$libdir does not exist.
18253 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
18255 # If ld is used when linking, flag to hardcode \$libdir into
18256 # a binary during linking. This must work even if \$libdir does
18258 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
18260 # Whether we need a single -rpath flag with a separated argument.
18261 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
18263 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18264 # resulting binary.
18265 hardcode_direct=$hardcode_direct_F77
18267 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18268 # resulting binary.
18269 hardcode_minus_L=$hardcode_minus_L_F77
18271 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18272 # the resulting binary.
18273 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
18275 # Set to yes if building a shared library automatically hardcodes DIR into the library
18276 # and all subsequent libraries and executables linked against it.
18277 hardcode_automatic=$hardcode_automatic_F77
18279 # Variables whose values should be saved in libtool wrapper scripts and
18280 # restored at relink time.
18281 variables_saved_for_relink="$variables_saved_for_relink"
18283 # Whether libtool must link a program against all its dependency libraries.
18284 link_all_deplibs=$link_all_deplibs_F77
18286 # Compile-time system search path for libraries
18287 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18289 # Run-time system search path for libraries
18290 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18292 # Fix the shell variable \$srcfile for the compiler.
18293 fix_srcfile_path=$lt_fix_srcfile_path
18295 # Set to yes if exported symbols are required.
18296 always_export_symbols=$always_export_symbols_F77
18298 # The commands to list exported symbols.
18299 export_symbols_cmds=$lt_export_symbols_cmds_F77
18301 # The commands to extract the exported symbol list from a shared archive.
18302 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18304 # Symbols that should not be listed in the preloaded symbols.
18305 exclude_expsyms=$lt_exclude_expsyms_F77
18307 # Symbols that must always be exported.
18308 include_expsyms=$lt_include_expsyms_F77
18310 # ### END LIBTOOL TAG CONFIG: $tagname
18316 # If there is no Makefile yet, we rely on a make rule to execute
18317 # `config.status --recheck' to rerun these tests and create the
18318 # libtool script then.
18319 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18320 if test -f "$ltmain_in"; then
18321 test -f Makefile && make "$ltmain"
18327 ac_cpp='$CPP $CPPFLAGS'
18328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18340 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
18343 # Source file extension for Java test sources.
18346 # Object file extension for compiled Java test sources.
18350 # Code to be used in simple compile tests
18351 lt_simple_compile_test_code="class foo {}"
18353 # Code to be used in simple link tests
18354 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
18356 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18358 # If no C compiler was specified, use CC.
18361 # If no C compiler flags were specified, use CFLAGS.
18362 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18364 # Allow CC to be a program name with arguments.
18368 # save warnings/boilerplate of simple test code
18369 ac_outfile=conftest.$ac_objext
18370 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18371 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18372 _lt_compiler_boilerplate=`cat conftest.err`
18375 ac_outfile=conftest.$ac_objext
18376 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18377 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18378 _lt_linker_boilerplate=`cat conftest.err`
18382 # Allow CC to be a program name with arguments.
18387 for cc_temp in $compiler""; do
18389 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18390 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18395 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18398 # GCJ did not exist at the time GCC didn't implicitly link libc in.
18399 archive_cmds_need_lc_GCJ=no
18401 old_archive_cmds_GCJ=$old_archive_cmds
18404 lt_prog_compiler_no_builtin_flag_GCJ=
18406 if test "$GCC" = yes; then
18407 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
18410 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
18411 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
18412 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 lt_cv_prog_compiler_rtti_exceptions=no
18416 ac_outfile=conftest.$ac_objext
18417 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18418 lt_compiler_flag="-fno-rtti -fno-exceptions"
18419 # Insert the option either (1) after the last *FLAGS variable, or
18420 # (2) before a word containing "conftest.", or (3) at the end.
18421 # Note that $ac_compile itself does not contain backslashes and begins
18422 # with a dollar sign (not a hyphen), so the echo should work correctly.
18423 # The option is referenced via a variable to avoid confusing sed.
18424 lt_compile=`echo "$ac_compile" | $SED \
18425 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18426 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18427 -e 's:$: $lt_compiler_flag:'`
18428 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18429 (eval "$lt_compile" 2>conftest.err)
18431 cat conftest.err >&5
18432 echo "$as_me:__oline__: \$? = $ac_status" >&5
18433 if (exit $ac_status) && test -s "$ac_outfile"; then
18434 # The compiler can only warn and ignore the option if not recognized
18435 # So say no if there are warnings other than the usual output.
18436 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18437 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18438 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18439 lt_cv_prog_compiler_rtti_exceptions=yes
18445 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
18446 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
18448 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
18449 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
18456 lt_prog_compiler_wl_GCJ=
18457 lt_prog_compiler_pic_GCJ=
18458 lt_prog_compiler_static_GCJ=
18460 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18461 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
18463 if test "$GCC" = yes; then
18464 lt_prog_compiler_wl_GCJ='-Wl,'
18465 lt_prog_compiler_static_GCJ='-static'
18469 # All AIX code is PIC.
18470 if test "$host_cpu" = ia64; then
18471 # AIX 5 now supports IA64 processor
18472 lt_prog_compiler_static_GCJ='-Bstatic'
18477 # FIXME: we need at least 68020 code to build shared libraries, but
18478 # adding the `-m68020' flag to GCC prevents building anything better,
18480 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
18483 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18484 # PIC is the default for these OSes.
18487 mingw* | cygwin* | pw32* | os2*)
18488 # This hack is so that the source file can tell whether it is being
18489 # built for inclusion in a dll (and should export symbols for example).
18490 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18491 # (--disable-auto-import) libraries
18495 darwin* | rhapsody*)
18496 # PIC is the default on this platform
18497 # Common symbols not allowed in MH_DYLIB files
18498 lt_prog_compiler_pic_GCJ='-fno-common'
18502 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18503 # Instead, we relocate shared libraries at runtime.
18507 # Just because we use GCC doesn't mean we suddenly get shared libraries
18508 # on systems that don't support them.
18509 lt_prog_compiler_can_build_shared_GCJ=no
18514 if test -d /usr/nec; then
18515 lt_prog_compiler_pic_GCJ=-Kconform_pic
18520 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18521 # not for PA HP-UX.
18527 lt_prog_compiler_pic_GCJ='-fPIC'
18533 lt_prog_compiler_pic_GCJ='-fPIC'
18537 # PORTME Check for flag to pass linker flags through the system compiler.
18540 lt_prog_compiler_wl_GCJ='-Wl,'
18541 if test "$host_cpu" = ia64; then
18542 # AIX 5 now supports IA64 processor
18543 lt_prog_compiler_static_GCJ='-Bstatic'
18545 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
18549 # PIC is the default on this platform
18550 # Common symbols not allowed in MH_DYLIB files
18551 case $cc_basename in
18553 lt_prog_compiler_pic_GCJ='-qnocommon'
18554 lt_prog_compiler_wl_GCJ='-Wl,'
18559 mingw* | cygwin* | pw32* | os2*)
18560 # This hack is so that the source file can tell whether it is being
18561 # built for inclusion in a dll (and should export symbols for example).
18565 hpux9* | hpux10* | hpux11*)
18566 lt_prog_compiler_wl_GCJ='-Wl,'
18567 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18568 # not for PA HP-UX.
18574 lt_prog_compiler_pic_GCJ='+Z'
18577 # Is there a better lt_prog_compiler_static that works with the bundled CC?
18578 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
18581 irix5* | irix6* | nonstopux*)
18582 lt_prog_compiler_wl_GCJ='-Wl,'
18583 # PIC (with -KPIC) is the default.
18584 lt_prog_compiler_static_GCJ='-non_shared'
18588 lt_prog_compiler_pic_GCJ='-KPIC'
18589 lt_prog_compiler_static_GCJ='-Bstatic'
18592 linux* | k*bsd*-gnu)
18593 case $cc_basename in
18595 lt_prog_compiler_wl_GCJ='-Wl,'
18596 lt_prog_compiler_pic_GCJ='-KPIC'
18597 lt_prog_compiler_static_GCJ='-static'
18599 pgcc* | pgf77* | pgf90* | pgf95*)
18600 # Portland Group compilers (*not* the Pentium gcc compiler,
18601 # which looks to be a dead project)
18602 lt_prog_compiler_wl_GCJ='-Wl,'
18603 lt_prog_compiler_pic_GCJ='-fpic'
18604 lt_prog_compiler_static_GCJ='-Bstatic'
18607 lt_prog_compiler_wl_GCJ='-Wl,'
18608 # All Alpha code is PIC.
18609 lt_prog_compiler_static_GCJ='-non_shared'
18612 case `$CC -V 2>&1 | sed 5q` in
18615 lt_prog_compiler_pic_GCJ='-KPIC'
18616 lt_prog_compiler_static_GCJ='-Bstatic'
18617 lt_prog_compiler_wl_GCJ='-Wl,'
18620 # Sun Fortran 8.3 passes all unrecognized flags to the linker
18621 lt_prog_compiler_pic_GCJ='-KPIC'
18622 lt_prog_compiler_static_GCJ='-Bstatic'
18623 lt_prog_compiler_wl_GCJ=''
18630 osf3* | osf4* | osf5*)
18631 lt_prog_compiler_wl_GCJ='-Wl,'
18632 # All OSF/1 code is PIC.
18633 lt_prog_compiler_static_GCJ='-non_shared'
18637 lt_prog_compiler_static_GCJ='-non_shared'
18641 lt_prog_compiler_pic_GCJ='-KPIC'
18642 lt_prog_compiler_static_GCJ='-Bstatic'
18643 case $cc_basename in
18644 f77* | f90* | f95*)
18645 lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18647 lt_prog_compiler_wl_GCJ='-Wl,';;
18652 lt_prog_compiler_wl_GCJ='-Qoption ld '
18653 lt_prog_compiler_pic_GCJ='-PIC'
18654 lt_prog_compiler_static_GCJ='-Bstatic'
18657 sysv4 | sysv4.2uw2* | sysv4.3*)
18658 lt_prog_compiler_wl_GCJ='-Wl,'
18659 lt_prog_compiler_pic_GCJ='-KPIC'
18660 lt_prog_compiler_static_GCJ='-Bstatic'
18664 if test -d /usr/nec ;then
18665 lt_prog_compiler_pic_GCJ='-Kconform_pic'
18666 lt_prog_compiler_static_GCJ='-Bstatic'
18670 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18671 lt_prog_compiler_wl_GCJ='-Wl,'
18672 lt_prog_compiler_pic_GCJ='-KPIC'
18673 lt_prog_compiler_static_GCJ='-Bstatic'
18677 lt_prog_compiler_wl_GCJ='-Wl,'
18678 lt_prog_compiler_can_build_shared_GCJ=no
18682 lt_prog_compiler_pic_GCJ='-pic'
18683 lt_prog_compiler_static_GCJ='-Bstatic'
18687 lt_prog_compiler_can_build_shared_GCJ=no
18692 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18693 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18696 # Check to make sure the PIC flag actually works.
18698 if test -n "$lt_prog_compiler_pic_GCJ"; then
18700 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18701 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18702 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 lt_cv_prog_compiler_pic_works_GCJ=no
18706 ac_outfile=conftest.$ac_objext
18707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18708 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18709 # Insert the option either (1) after the last *FLAGS variable, or
18710 # (2) before a word containing "conftest.", or (3) at the end.
18711 # Note that $ac_compile itself does not contain backslashes and begins
18712 # with a dollar sign (not a hyphen), so the echo should work correctly.
18713 # The option is referenced via a variable to avoid confusing sed.
18714 lt_compile=`echo "$ac_compile" | $SED \
18715 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18717 -e 's:$: $lt_compiler_flag:'`
18718 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18719 (eval "$lt_compile" 2>conftest.err)
18721 cat conftest.err >&5
18722 echo "$as_me:__oline__: \$? = $ac_status" >&5
18723 if (exit $ac_status) && test -s "$ac_outfile"; then
18724 # The compiler can only warn and ignore the option if not recognized
18725 # So say no if there are warnings other than the usual output.
18726 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18727 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18728 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18729 lt_cv_prog_compiler_pic_works_GCJ=yes
18735 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18736 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18738 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18739 case $lt_prog_compiler_pic_GCJ in
18741 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18744 lt_prog_compiler_pic_GCJ=
18745 lt_prog_compiler_can_build_shared_GCJ=no
18750 # For platforms which do not support PIC, -DPIC is meaningless:
18752 lt_prog_compiler_pic_GCJ=
18755 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18760 # Check to make sure the static flag actually works.
18762 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18763 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18764 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18765 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 lt_cv_prog_compiler_static_works_GCJ=no
18769 save_LDFLAGS="$LDFLAGS"
18770 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18771 echo "$lt_simple_link_test_code" > conftest.$ac_ext
18772 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18773 # The linker can only warn and ignore the option if not recognized
18774 # So say no if there are warnings
18775 if test -s conftest.err; then
18776 # Append any errors to the config.log.
18777 cat conftest.err 1>&5
18778 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18779 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18780 if diff conftest.exp conftest.er2 >/dev/null; then
18781 lt_cv_prog_compiler_static_works_GCJ=yes
18784 lt_cv_prog_compiler_static_works_GCJ=yes
18788 LDFLAGS="$save_LDFLAGS"
18791 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18792 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18794 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18797 lt_prog_compiler_static_GCJ=
18801 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18802 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18803 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18804 echo $ECHO_N "(cached) $ECHO_C" >&6
18806 lt_cv_prog_compiler_c_o_GCJ=no
18807 $rm -r conftest 2>/dev/null
18811 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18813 lt_compiler_flag="-o out/conftest2.$ac_objext"
18814 # Insert the option either (1) after the last *FLAGS variable, or
18815 # (2) before a word containing "conftest.", or (3) at the end.
18816 # Note that $ac_compile itself does not contain backslashes and begins
18817 # with a dollar sign (not a hyphen), so the echo should work correctly.
18818 lt_compile=`echo "$ac_compile" | $SED \
18819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18821 -e 's:$: $lt_compiler_flag:'`
18822 (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
18823 (eval "$lt_compile" 2>out/conftest.err)
18825 cat out/conftest.err >&5
18826 echo "$as_me:__oline__: \$? = $ac_status" >&5
18827 if (exit $ac_status) && test -s out/conftest2.$ac_objext
18829 # The compiler can only warn and ignore the option if not recognized
18830 # So say no if there are warnings
18831 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18832 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18833 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18834 lt_cv_prog_compiler_c_o_GCJ=yes
18839 # SGI C++ compiler will create directory out/ii_files/ for
18840 # template instantiation
18841 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18842 $rm out/* && rmdir out
18848 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18849 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18852 hard_links="nottested"
18853 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18854 # do not overwrite the value of need_locks provided by the user
18855 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18856 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18859 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18861 ln conftest.a conftest.b 2>&5 || hard_links=no
18862 ln conftest.a conftest.b 2>/dev/null && hard_links=no
18863 { echo "$as_me:$LINENO: result: $hard_links" >&5
18864 echo "${ECHO_T}$hard_links" >&6; }
18865 if test "$hard_links" = no; then
18866 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18867 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18874 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18875 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18878 allow_undefined_flag_GCJ=
18879 enable_shared_with_static_runtimes_GCJ=no
18881 archive_expsym_cmds_GCJ=
18882 old_archive_From_new_cmds_GCJ=
18883 old_archive_from_expsyms_cmds_GCJ=
18884 export_dynamic_flag_spec_GCJ=
18885 whole_archive_flag_spec_GCJ=
18886 thread_safe_flag_spec_GCJ=
18887 hardcode_libdir_flag_spec_GCJ=
18888 hardcode_libdir_flag_spec_ld_GCJ=
18889 hardcode_libdir_separator_GCJ=
18890 hardcode_direct_GCJ=no
18891 hardcode_minus_L_GCJ=no
18892 hardcode_shlibpath_var_GCJ=unsupported
18893 link_all_deplibs_GCJ=unknown
18894 hardcode_automatic_GCJ=no
18896 module_expsym_cmds_GCJ=
18897 always_export_symbols_GCJ=no
18898 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18899 # include_expsyms should be a list of space-separated symbols to be *always*
18900 # included in the symbol list
18901 include_expsyms_GCJ=
18902 # exclude_expsyms can be an extended regexp of symbols to exclude
18903 # it will be wrapped by ` (' and `)$', so one must not match beginning or
18904 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18905 # as well as any symbol that contains `d'.
18906 exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18907 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18908 # platforms (ab)use it in PIC code, but their linkers get confused if
18909 # the symbol is explicitly referenced. Since portable code cannot
18910 # rely on this symbol name, it's probably fine to never include it in
18911 # preloaded symbol tables.
18912 # Exclude shared library initialization/finalization symbols.
18913 extract_expsyms_cmds=
18914 # Just being paranoid about ensuring that cc_basename is set.
18915 for cc_temp in $compiler""; do
18917 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18918 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18923 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18926 cygwin* | mingw* | pw32*)
18927 # FIXME: the MSVC++ port hasn't been tested in a loooong time
18928 # When not using gcc, we currently assume that we are using
18929 # Microsoft Visual C++.
18930 if test "$GCC" != yes; then
18935 # we just hope/assume this is gcc and not c89 (= MSVC++)
18944 if test "$with_gnu_ld" = yes; then
18945 # If archive_cmds runs LD, not CC, wlarc should be empty
18948 # Set some defaults for GNU ld with shared library support. These
18949 # are reset later if shared libraries are not supported. Putting them
18950 # here allows them to be overridden if necessary.
18951 runpath_var=LD_RUN_PATH
18952 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18953 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18954 # ancient GNU ld didn't support --whole-archive et. al.
18955 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18956 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18958 whole_archive_flag_spec_GCJ=
18960 supports_anon_versioning=no
18961 case `$LD -v 2>/dev/null` in
18962 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18963 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18964 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18965 *\ 2.11.*) ;; # other 2.11 versions
18966 *) supports_anon_versioning=yes ;;
18969 # See if GNU ld supports shared libraries.
18972 # On AIX/PPC, the GNU linker is very broken
18973 if test "$host_cpu" != ia64; then
18977 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
18978 *** to be unable to reliably create shared libraries on AIX.
18979 *** Therefore, libtool is disabling shared libraries support. If you
18980 *** really care for shared libraries, you may want to modify your PATH
18981 *** so that a non-GNU linker is found, and then restart.
18988 archive_cmds_GCJ='$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)'
18989 hardcode_libdir_flag_spec_GCJ='-L$libdir'
18990 hardcode_minus_L_GCJ=yes
18992 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18993 # that the semantics of dynamic libraries on AmigaOS, at least up
18994 # to version 4, is to share data among multiple programs linked
18995 # with the same dynamic library. Since this doesn't match the
18996 # behavior of shared libraries on other platforms, we can't use
19002 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19003 allow_undefined_flag_GCJ=unsupported
19004 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19005 # support --undefined. This deserves some investigation. FIXME
19006 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19012 cygwin* | mingw* | pw32*)
19013 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
19014 # as there is no search path for DLLs.
19015 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19016 allow_undefined_flag_GCJ=unsupported
19017 always_export_symbols_GCJ=no
19018 enable_shared_with_static_runtimes_GCJ=yes
19019 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
19021 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
19022 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19023 # If the export-symbols file already is a .def file (1st line
19024 # is EXPORTS), use it as is; otherwise, prepend...
19025 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19026 cp $export_symbols $output_objdir/$soname.def;
19028 echo EXPORTS > $output_objdir/$soname.def;
19029 cat $export_symbols >> $output_objdir/$soname.def;
19031 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
19038 hardcode_direct_GCJ=no
19039 hardcode_shlibpath_var_GCJ=no
19040 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19041 export_dynamic_flag_spec_GCJ='${wl}-E'
19042 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19043 # Instead, shared libraries are loaded at an image base (0x10000000 by
19044 # default) and relocated if they conflict, which is a slow very memory
19045 # consuming and fragmenting process. To avoid this, we pick a random,
19046 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19047 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19048 archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
19049 archive_expsym_cmds_GCJ='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'
19052 gnu* | linux* | k*bsd*-gnu)
19053 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19055 case $cc_basename,$host_cpu in
19056 pgcc*) # Portland Group C compiler
19057 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19058 tmp_addflag=' $pic_flag'
19060 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
19061 whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
19062 tmp_addflag=' $pic_flag -Mnomain' ;;
19063 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
19064 tmp_addflag=' -i_dynamic' ;;
19065 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
19066 tmp_addflag=' -i_dynamic -nofor_main' ;;
19067 ifc* | ifort*) # Intel Fortran compiler
19068 tmp_addflag=' -nofor_main' ;;
19070 case `$CC -V 2>&1 | sed 5q` in
19071 *Sun\ C*) # Sun C 5.9
19072 whole_archive_flag_spec_GCJ='${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'
19073 tmp_sharedflag='-G' ;;
19074 *Sun\ F*) # Sun Fortran 8.3
19075 tmp_sharedflag='-G' ;;
19077 tmp_sharedflag='-shared' ;;
19079 archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19081 if test $supports_anon_versioning = yes; then
19082 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
19083 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19084 $echo "local: *; };" >> $output_objdir/$libname.ver~
19085 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19093 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19094 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
19097 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19098 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19103 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
19107 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
19108 *** create shared libraries on Solaris systems. Therefore, libtool
19109 *** is disabling shared libraries support. We urge you to upgrade GNU
19110 *** binutils to release 2.9.1 or newer. Another option is to modify
19111 *** your PATH or compiler configuration so that the native linker is
19112 *** used, and then restart.
19115 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19116 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19117 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19123 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
19124 case `$LD -v 2>&1` in
19125 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
19129 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
19130 *** reliably create shared libraries on SCO systems. Therefore, libtool
19131 *** is disabling shared libraries support. We urge you to upgrade GNU
19132 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
19133 *** your PATH or compiler configuration so that the native linker is
19134 *** used, and then restart.
19139 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19140 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
19141 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
19142 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
19151 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19153 hardcode_direct_GCJ=yes
19154 hardcode_shlibpath_var_GCJ=no
19158 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
19159 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19160 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
19167 if test "$ld_shlibs_GCJ" = no; then
19169 hardcode_libdir_flag_spec_GCJ=
19170 export_dynamic_flag_spec_GCJ=
19171 whole_archive_flag_spec_GCJ=
19174 # PORTME fill in a description of your system's linker (not GNU ld)
19177 allow_undefined_flag_GCJ=unsupported
19178 always_export_symbols_GCJ=yes
19179 archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
19180 # Note: this linker hardcodes the directories in LIBPATH if there
19181 # are no directories specified by -L.
19182 hardcode_minus_L_GCJ=yes
19183 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
19184 # Neither direct hardcoding nor static linking is supported with a
19186 hardcode_direct_GCJ=unsupported
19191 if test "$host_cpu" = ia64; then
19192 # On IA64, the linker does run time linking by default, so we don't
19193 # have to do anything special.
19194 aix_use_runtimelinking=no
19195 exp_sym_flag='-Bexport'
19198 # If we're using GNU nm, then we don't want the "-C" option.
19199 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19200 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19201 export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19203 export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19205 aix_use_runtimelinking=no
19207 # Test if we are trying to use run time linking or normal
19208 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19209 # need to do runtime linking.
19210 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19211 for ld_flag in $LDFLAGS; do
19212 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19213 aix_use_runtimelinking=yes
19220 exp_sym_flag='-bexport'
19221 no_entry_flag='-bnoentry'
19224 # When large executables or shared objects are built, AIX ld can
19225 # have problems creating the table of contents. If linking a library
19226 # or program results in "error TOC overflow" add -mminimal-toc to
19227 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
19228 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19230 archive_cmds_GCJ=''
19231 hardcode_direct_GCJ=yes
19232 hardcode_libdir_separator_GCJ=':'
19233 link_all_deplibs_GCJ=yes
19235 if test "$GCC" = yes; then
19236 case $host_os in aix4.[012]|aix4.[012].*)
19237 # We only want to do this on AIX 4.2 and lower, the check
19238 # below for broken collect2 doesn't work under 4.3+
19239 collect2name=`${CC} -print-prog-name=collect2`
19240 if test -f "$collect2name" && \
19241 strings "$collect2name" | grep resolve_lib_name >/dev/null
19243 # We have reworked collect2
19246 # We have old collect2
19247 hardcode_direct_GCJ=unsupported
19248 # It fails to find uninstalled libraries when the uninstalled
19249 # path is not listed in the libpath. Setting hardcode_minus_L
19250 # to unsupported forces relinking
19251 hardcode_minus_L_GCJ=yes
19252 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19253 hardcode_libdir_separator_GCJ=
19257 shared_flag='-shared'
19258 if test "$aix_use_runtimelinking" = yes; then
19259 shared_flag="$shared_flag "'${wl}-G'
19263 if test "$host_cpu" = ia64; then
19264 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19265 # chokes on -Wl,-G. The following line is correct:
19268 if test "$aix_use_runtimelinking" = yes; then
19269 shared_flag='${wl}-G'
19271 shared_flag='${wl}-bM:SRE'
19276 # It seems that -bexpall does not export symbols beginning with
19277 # underscore (_), so it is better to generate a list of symbols to export.
19278 always_export_symbols_GCJ=yes
19279 if test "$aix_use_runtimelinking" = yes; then
19280 # Warning - without using the other runtime loading flags (-brtl),
19281 # -berok will link without error, but may produce a broken library.
19282 allow_undefined_flag_GCJ='-berok'
19283 # Determine the default libpath from the value encoded in an empty executable.
19284 cat >conftest.$ac_ext <<_ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19299 rm -f conftest.$ac_objext conftest$ac_exeext
19300 if { (ac_try="$ac_link"
19301 case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_link") 2>conftest.er1
19308 grep -v '^ *+' conftest.er1 >conftest.err
19310 cat conftest.err >&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && {
19313 test -z "$ac_c_werror_flag" ||
19314 test ! -s conftest.err
19315 } && test -s conftest$ac_exeext &&
19316 $as_test_x conftest$ac_exeext; then
19318 lt_aix_libpath_sed='
19319 /Import File Strings/,/^$/ {
19325 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19326 # Check for a 64-bit object if we didn't find anything.
19327 if test -z "$aix_libpath"; then
19328 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19338 conftest$ac_exeext conftest.$ac_ext
19339 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19341 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19342 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19344 if test "$host_cpu" = ia64; then
19345 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
19346 allow_undefined_flag_GCJ="-z nodefs"
19347 archive_expsym_cmds_GCJ="\$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"
19349 # Determine the default libpath from the value encoded in an empty executable.
19350 cat >conftest.$ac_ext <<_ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h. */
19365 rm -f conftest.$ac_objext conftest$ac_exeext
19366 if { (ac_try="$ac_link"
19367 case "(($ac_try" in
19368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19369 *) ac_try_echo=$ac_try;;
19371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19372 (eval "$ac_link") 2>conftest.er1
19374 grep -v '^ *+' conftest.er1 >conftest.err
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && {
19379 test -z "$ac_c_werror_flag" ||
19380 test ! -s conftest.err
19381 } && test -s conftest$ac_exeext &&
19382 $as_test_x conftest$ac_exeext; then
19384 lt_aix_libpath_sed='
19385 /Import File Strings/,/^$/ {
19391 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19392 # Check for a 64-bit object if we didn't find anything.
19393 if test -z "$aix_libpath"; then
19394 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19404 conftest$ac_exeext conftest.$ac_ext
19405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19407 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
19408 # Warning - without using the other run time loading flags,
19409 # -berok will link without error, but may produce a broken library.
19410 no_undefined_flag_GCJ=' ${wl}-bernotok'
19411 allow_undefined_flag_GCJ=' ${wl}-berok'
19412 # Exported symbols can be pulled into shared objects from archives
19413 whole_archive_flag_spec_GCJ='$convenience'
19414 archive_cmds_need_lc_GCJ=yes
19415 # This is similar to how AIX traditionally builds its shared libraries.
19416 archive_expsym_cmds_GCJ="\$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'
19422 archive_cmds_GCJ='$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)'
19423 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19424 hardcode_minus_L_GCJ=yes
19425 # see comment about different semantics on the GNU ld section
19430 export_dynamic_flag_spec_GCJ=-rdynamic
19433 cygwin* | mingw* | pw32*)
19434 # When not using gcc, we currently assume that we are using
19435 # Microsoft Visual C++.
19436 # hardcode_libdir_flag_spec is actually meaningless, as there is
19437 # no search path for DLLs.
19438 hardcode_libdir_flag_spec_GCJ=' '
19439 allow_undefined_flag_GCJ=unsupported
19440 # Tell ltmain to make .lib files, not .a files.
19442 # Tell ltmain to make .dll files, not .so files.
19444 # FIXME: Setting linknames here is a bad hack.
19445 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19446 # The linker will automatically build a .lib file if we build a DLL.
19447 old_archive_From_new_cmds_GCJ='true'
19448 # FIXME: Should let the user specify the lib program.
19449 old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
19450 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
19451 enable_shared_with_static_runtimes_GCJ=yes
19454 darwin* | rhapsody*)
19456 rhapsody* | darwin1.[012])
19457 allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
19460 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
19461 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19463 case ${MACOSX_DEPLOYMENT_TARGET} in
19465 allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
19468 allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
19474 archive_cmds_need_lc_GCJ=no
19475 hardcode_direct_GCJ=no
19476 hardcode_automatic_GCJ=yes
19477 hardcode_shlibpath_var_GCJ=unsupported
19478 whole_archive_flag_spec_GCJ=''
19479 link_all_deplibs_GCJ=yes
19480 if test "$GCC" = yes ; then
19481 output_verbose_link_cmd='echo'
19482 archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19483 module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19484 archive_expsym_cmds_GCJ="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}"
19485 module_expsym_cmds_GCJ="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}"
19487 case $cc_basename in
19489 output_verbose_link_cmd='echo'
19490 archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19491 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19492 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19493 archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19494 module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19504 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19505 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19506 hardcode_shlibpath_var_GCJ=no
19513 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19514 # support. Future versions do this automatically, but an explicit c++rt0.o
19515 # does not break anything, and helps significantly (at the cost of a little
19518 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19519 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19520 hardcode_direct_GCJ=yes
19521 hardcode_shlibpath_var_GCJ=no
19524 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19526 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19527 hardcode_direct_GCJ=yes
19528 hardcode_minus_L_GCJ=yes
19529 hardcode_shlibpath_var_GCJ=no
19532 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19533 freebsd* | dragonfly*)
19534 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19535 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19536 hardcode_direct_GCJ=yes
19537 hardcode_shlibpath_var_GCJ=no
19541 if test "$GCC" = yes; then
19542 archive_cmds_GCJ='$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'
19544 archive_cmds_GCJ='$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'
19546 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19547 hardcode_libdir_separator_GCJ=:
19548 hardcode_direct_GCJ=yes
19550 # hardcode_minus_L: Not really in the search PATH,
19551 # but as the default location of the library.
19552 hardcode_minus_L_GCJ=yes
19553 export_dynamic_flag_spec_GCJ='${wl}-E'
19557 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19558 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19560 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19562 if test "$with_gnu_ld" = no; then
19563 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19564 hardcode_libdir_separator_GCJ=:
19566 hardcode_direct_GCJ=yes
19567 export_dynamic_flag_spec_GCJ='${wl}-E'
19569 # hardcode_minus_L: Not really in the search PATH,
19570 # but as the default location of the library.
19571 hardcode_minus_L_GCJ=yes
19576 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19579 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19582 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19585 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19591 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19594 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19597 archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19601 if test "$with_gnu_ld" = no; then
19602 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
19603 hardcode_libdir_separator_GCJ=:
19607 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
19608 hardcode_direct_GCJ=no
19609 hardcode_shlibpath_var_GCJ=no
19612 hardcode_direct_GCJ=yes
19613 export_dynamic_flag_spec_GCJ='${wl}-E'
19615 # hardcode_minus_L: Not really in the search PATH,
19616 # but as the default location of the library.
19617 hardcode_minus_L_GCJ=yes
19623 irix5* | irix6* | nonstopux*)
19624 if test "$GCC" = yes; then
19625 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19627 archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19628 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
19630 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19631 hardcode_libdir_separator_GCJ=:
19632 link_all_deplibs_GCJ=yes
19636 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19637 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
19639 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
19641 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19642 hardcode_direct_GCJ=yes
19643 hardcode_shlibpath_var_GCJ=no
19647 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19648 hardcode_direct_GCJ=yes
19649 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19650 hardcode_libdir_separator_GCJ=:
19651 hardcode_shlibpath_var_GCJ=no
19655 if test -f /usr/libexec/ld.so; then
19656 hardcode_direct_GCJ=yes
19657 hardcode_shlibpath_var_GCJ=no
19658 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19659 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19660 archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19661 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19662 export_dynamic_flag_spec_GCJ='${wl}-E'
19665 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19666 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19667 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19670 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19671 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19681 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19682 hardcode_minus_L_GCJ=yes
19683 allow_undefined_flag_GCJ=unsupported
19684 archive_cmds_GCJ='$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'
19685 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19689 if test "$GCC" = yes; then
19690 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19691 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19693 allow_undefined_flag_GCJ=' -expect_unresolved \*'
19694 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19696 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19697 hardcode_libdir_separator_GCJ=:
19700 osf4* | osf5*) # as osf3* with the addition of -msym flag
19701 if test "$GCC" = yes; then
19702 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19703 archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19704 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19706 allow_undefined_flag_GCJ=' -expect_unresolved \*'
19707 archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19708 archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19709 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19711 # Both c and cxx compiler support -rpath directly
19712 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19714 hardcode_libdir_separator_GCJ=:
19718 no_undefined_flag_GCJ=' -z text'
19719 if test "$GCC" = yes; then
19721 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19722 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19723 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19726 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19727 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19728 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19730 hardcode_libdir_flag_spec_GCJ='-R$libdir'
19731 hardcode_shlibpath_var_GCJ=no
19733 solaris2.[0-5] | solaris2.[0-5].*) ;;
19735 # The compiler driver will combine and reorder linker options,
19736 # but understands `-z linker_flag'. GCC discards it without `$wl',
19737 # but is careful enough not to reorder.
19738 # Supported since Solaris 2.6 (maybe 2.5.1?)
19739 if test "$GCC" = yes; then
19740 whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19742 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19746 link_all_deplibs_GCJ=yes
19750 if test "x$host_vendor" = xsequent; then
19751 # Use $CC to link under sequent, because it throws in some extra .o
19752 # files that make .init and .fini sections work.
19753 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19755 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19757 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19758 hardcode_direct_GCJ=yes
19759 hardcode_minus_L_GCJ=yes
19760 hardcode_shlibpath_var_GCJ=no
19764 case $host_vendor in
19766 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19767 hardcode_direct_GCJ=yes # is this really true???
19770 ## LD is ld it makes a PLAMLIB
19771 ## CC just makes a GrossModule.
19772 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19773 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19774 hardcode_direct_GCJ=no
19777 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19778 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19781 runpath_var='LD_RUN_PATH'
19782 hardcode_shlibpath_var_GCJ=no
19786 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19787 hardcode_shlibpath_var_GCJ=no
19788 export_dynamic_flag_spec_GCJ='-Bexport'
19792 if test -d /usr/nec; then
19793 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19794 hardcode_shlibpath_var_GCJ=no
19795 runpath_var=LD_RUN_PATH
19796 hardcode_runpath_var=yes
19801 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19802 no_undefined_flag_GCJ='${wl}-z,text'
19803 archive_cmds_need_lc_GCJ=no
19804 hardcode_shlibpath_var_GCJ=no
19805 runpath_var='LD_RUN_PATH'
19807 if test "$GCC" = yes; then
19808 archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19809 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19811 archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19812 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19816 sysv5* | sco3.2v5* | sco5v6*)
19817 # Note: We can NOT use -z defs as we might desire, because we do not
19818 # link with -lc, and that would cause any symbols used from libc to
19819 # always be unresolved, which means just about no library would
19820 # ever link correctly. If we're not using GNU ld we use -z text
19821 # though, which does catch some bad symbols but isn't as heavy-handed
19823 no_undefined_flag_GCJ='${wl}-z,text'
19824 allow_undefined_flag_GCJ='${wl}-z,nodefs'
19825 archive_cmds_need_lc_GCJ=no
19826 hardcode_shlibpath_var_GCJ=no
19827 hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19828 hardcode_libdir_separator_GCJ=':'
19829 link_all_deplibs_GCJ=yes
19830 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19831 runpath_var='LD_RUN_PATH'
19833 if test "$GCC" = yes; then
19834 archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19835 archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19837 archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19838 archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19843 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19844 hardcode_libdir_flag_spec_GCJ='-L$libdir'
19845 hardcode_shlibpath_var_GCJ=no
19854 { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19855 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19856 test "$ld_shlibs_GCJ" = no && can_build_shared=no
19859 # Do we need to explicitly link libc?
19861 case "x$archive_cmds_need_lc_GCJ" in
19863 # Assume -lc should be added
19864 archive_cmds_need_lc_GCJ=yes
19866 if test "$enable_shared" = yes && test "$GCC" = yes; then
19867 case $archive_cmds_GCJ in
19869 # FIXME: we may have to deal with multi-command sequences.
19872 # Test whether the compiler implicitly links with -lc since on some
19873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19874 # to ld, don't add -lc before -lgcc.
19875 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19876 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19881 (eval $ac_compile) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } 2>conftest.err; then
19887 libobjs=conftest.$ac_objext
19889 wl=$lt_prog_compiler_wl_GCJ
19890 pic_flag=$lt_prog_compiler_pic_GCJ
19896 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19897 allow_undefined_flag_GCJ=
19898 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19899 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }
19904 archive_cmds_need_lc_GCJ=no
19906 archive_cmds_need_lc_GCJ=yes
19908 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19910 cat conftest.err 1>&5
19913 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19914 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19921 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19922 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19923 library_names_spec=
19924 libname_spec='lib$name'
19928 postuninstall_cmds=
19932 shlibpath_overrides_runpath=unknown
19934 dynamic_linker="$host_os ld.so"
19935 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19937 need_lib_prefix=unknown
19938 hardcode_into_libs=no
19940 # when you set need_version to no, make sure it does not cause -set_version
19941 # flags to be left without arguments
19942 need_version=unknown
19947 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19948 shlibpath_var=LIBPATH
19950 # AIX 3 has no versioning support, so we append a major version to the name.
19951 soname_spec='${libname}${release}${shared_ext}$major'
19958 hardcode_into_libs=yes
19959 if test "$host_cpu" = ia64; then
19960 # AIX 5 supports IA64
19961 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19962 shlibpath_var=LD_LIBRARY_PATH
19964 # With GCC up to 2.95.x, collect2 would create an import file
19965 # for dependence libraries. The import file would start with
19966 # the line `#! .'. This would cause the generated library to
19967 # depend on `.', always an invalid library. This was fixed in
19968 # development snapshots of GCC prior to 3.0.
19970 aix4 | aix4.[01] | aix4.[01].*)
19971 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19973 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19976 can_build_shared=no
19980 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19981 # soname into executable. Probably we can add versioning support to
19982 # collect2, so additional links can be useful in future.
19983 if test "$aix_use_runtimelinking" = yes; then
19984 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19985 # instead of lib<name>.a to let people know that these are not
19986 # typical AIX shared libraries.
19987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19989 # We preserve .a as extension for shared libraries through AIX4.2
19990 # and later when we are not doing run time linking.
19991 library_names_spec='${libname}${release}.a $libname.a'
19992 soname_spec='${libname}${release}${shared_ext}$major'
19994 shlibpath_var=LIBPATH
19999 library_names_spec='$libname.ixlibrary $libname.a'
20000 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20001 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'
20005 library_names_spec='${libname}${shared_ext}'
20006 dynamic_linker="$host_os ld.so"
20007 shlibpath_var=LIBRARY_PATH
20013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20014 soname_spec='${libname}${release}${shared_ext}$major'
20015 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20016 shlibpath_var=LD_LIBRARY_PATH
20017 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20018 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20019 # the default ld.so.conf also contains /usr/contrib/lib and
20020 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20021 # libtool to hard-code these into programs
20024 cygwin* | mingw* | pw32*)
20025 version_type=windows
20030 case $GCC,$host_os in
20031 yes,cygwin* | yes,mingw* | yes,pw32*)
20032 library_names_spec='$libname.dll.a'
20033 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20034 postinstall_cmds='base_file=`basename \${file}`~
20035 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
20036 dldir=$destdir/`dirname \$dlpath`~
20037 test -d \$dldir || mkdir -p \$dldir~
20038 $install_prog $dir/$dlname \$dldir/$dlname~
20039 chmod a+x \$dldir/$dlname'
20040 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20041 dlpath=$dir/\$dldll~
20043 shlibpath_overrides_runpath=yes
20047 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20048 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20049 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
20052 # MinGW DLLs use traditional 'lib' prefix
20053 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20054 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
20055 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
20056 # It is most probably a Windows format PATH printed by
20057 # mingw gcc, but we are running on Cygwin. Gcc prints its search
20058 # path with ; separators, and with drive letters. We can handle the
20059 # drive letters (cygwin fileutils understands them), so leave them,
20060 # especially as we might pass files found there to a mingw objdump,
20061 # which wouldn't understand a cygwinified path. Ahh.
20062 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20064 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20068 # pw32 DLLs use 'pw' prefix rather than 'lib'
20069 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20075 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20078 dynamic_linker='Win32 ld.exe'
20079 # FIXME: first we should search . and the directory the executable is in
20083 darwin* | rhapsody*)
20084 dynamic_linker="$host_os dyld"
20085 version_type=darwin
20088 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20089 soname_spec='${libname}${release}${major}$shared_ext'
20090 shlibpath_overrides_runpath=yes
20091 shlibpath_var=DYLD_LIBRARY_PATH
20092 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20094 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20102 soname_spec='${libname}${release}${shared_ext}$major'
20103 shlibpath_var=LD_LIBRARY_PATH
20110 freebsd* | dragonfly*)
20111 # DragonFly does not have aout. When/if they implement a new
20112 # versioning mechanism, adjust this.
20113 if test -x /usr/bin/objformat; then
20114 objformat=`/usr/bin/objformat`
20117 freebsd[123]*) objformat=aout ;;
20118 *) objformat=elf ;;
20121 version_type=freebsd-$objformat
20122 case $version_type in
20124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20129 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20133 shlibpath_var=LD_LIBRARY_PATH
20136 shlibpath_overrides_runpath=yes
20138 freebsd3.[01]* | freebsdelf3.[01]*)
20139 shlibpath_overrides_runpath=yes
20140 hardcode_into_libs=yes
20142 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20143 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20144 shlibpath_overrides_runpath=no
20145 hardcode_into_libs=yes
20147 *) # from 4.6 on, and DragonFly
20148 shlibpath_overrides_runpath=yes
20149 hardcode_into_libs=yes
20158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20159 soname_spec='${libname}${release}${shared_ext}$major'
20160 shlibpath_var=LD_LIBRARY_PATH
20161 hardcode_into_libs=yes
20164 hpux9* | hpux10* | hpux11*)
20165 # Give a soname corresponding to the major version so that dld.sl refuses to
20166 # link against other versions.
20173 hardcode_into_libs=yes
20174 dynamic_linker="$host_os dld.so"
20175 shlibpath_var=LD_LIBRARY_PATH
20176 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20178 soname_spec='${libname}${release}${shared_ext}$major'
20179 if test "X$HPUX_IA64_MODE" = X32; then
20180 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20182 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20184 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20188 hardcode_into_libs=yes
20189 dynamic_linker="$host_os dld.sl"
20190 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20191 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20193 soname_spec='${libname}${release}${shared_ext}$major'
20194 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20199 dynamic_linker="$host_os dld.sl"
20200 shlibpath_var=SHLIB_PATH
20201 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20203 soname_spec='${libname}${release}${shared_ext}$major'
20206 # HP-UX runs *really* slowly unless shared libraries are mode 555.
20207 postinstall_cmds='chmod 555 $lib'
20214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20215 soname_spec='${libname}${release}${shared_ext}$major'
20216 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20217 shlibpath_var=LD_LIBRARY_PATH
20218 shlibpath_overrides_runpath=no
20219 hardcode_into_libs=yes
20222 irix5* | irix6* | nonstopux*)
20224 nonstopux*) version_type=nonstopux ;;
20226 if test "$lt_cv_prog_gnu_ld" = yes; then
20234 soname_spec='${libname}${release}${shared_ext}$major'
20235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20237 irix5* | nonstopux*)
20238 libsuff= shlibsuff=
20241 case $LD in # libtool.m4 will add one of these switches to LD
20242 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20243 libsuff= shlibsuff= libmagic=32-bit;;
20244 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20245 libsuff=32 shlibsuff=N32 libmagic=N32;;
20246 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20247 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20248 *) libsuff= shlibsuff= libmagic=never-match;;
20252 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20253 shlibpath_overrides_runpath=no
20254 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20255 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20256 hardcode_into_libs=yes
20259 # No shared lib support for Linux oldld, aout, or coff.
20260 linux*oldld* | linux*aout* | linux*coff*)
20264 # This must be Linux ELF.
20265 linux* | k*bsd*-gnu)
20269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20270 soname_spec='${libname}${release}${shared_ext}$major'
20271 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20272 shlibpath_var=LD_LIBRARY_PATH
20273 shlibpath_overrides_runpath=no
20274 # This implies no fast_install, which is unacceptable.
20275 # Some rework will be needed to allow for fast_install
20276 # before this can be enabled.
20277 hardcode_into_libs=yes
20279 # Append ld.so.conf contents to the search path
20280 if test -f /etc/ld.so.conf; then
20281 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' ' '`
20282 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20285 # We used to test for /lib/ld.so.1 and disable shared libraries on
20286 # powerpc, because MkLinux only supported shared libraries with the
20287 # GNU dynamic linker. Since this was broken with cross compilers,
20288 # most powerpc-linux boxes support dynamic linking these days and
20289 # people can always --disable-shared, the test was removed, and we
20290 # assume the GNU/Linux dynamic linker is in use.
20291 dynamic_linker='GNU/Linux ld.so'
20298 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20300 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20301 dynamic_linker='NetBSD (a.out) ld.so'
20303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20304 soname_spec='${libname}${release}${shared_ext}$major'
20305 dynamic_linker='NetBSD ld.elf_so'
20307 shlibpath_var=LD_LIBRARY_PATH
20308 shlibpath_overrides_runpath=yes
20309 hardcode_into_libs=yes
20314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20315 shlibpath_var=LD_LIBRARY_PATH
20316 shlibpath_overrides_runpath=yes
20323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20324 soname_spec='${libname}${release}${shared_ext}$major'
20325 shlibpath_var=LD_LIBRARY_PATH
20326 shlibpath_overrides_runpath=yes
20331 sys_lib_dlsearch_path_spec="/usr/lib"
20333 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20335 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20336 *) need_version=no ;;
20338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20339 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20340 shlibpath_var=LD_LIBRARY_PATH
20341 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20343 openbsd2.[89] | openbsd2.[89].*)
20344 shlibpath_overrides_runpath=no
20347 shlibpath_overrides_runpath=yes
20351 shlibpath_overrides_runpath=yes
20356 libname_spec='$name'
20359 library_names_spec='$libname${shared_ext} $libname.a'
20360 dynamic_linker='OS/2 ld.exe'
20361 shlibpath_var=LIBPATH
20364 osf3* | osf4* | osf5*)
20368 soname_spec='${libname}${release}${shared_ext}$major'
20369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20370 shlibpath_var=LD_LIBRARY_PATH
20371 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20372 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20384 soname_spec='${libname}${release}${shared_ext}$major'
20385 shlibpath_var=LD_LIBRARY_PATH
20386 shlibpath_overrides_runpath=yes
20387 hardcode_into_libs=yes
20388 # ldd complains unless libraries are executable
20389 postinstall_cmds='chmod +x $lib'
20394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20395 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20396 shlibpath_var=LD_LIBRARY_PATH
20397 shlibpath_overrides_runpath=yes
20398 if test "$with_gnu_ld" = yes; then
20406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20407 soname_spec='${libname}${release}${shared_ext}$major'
20408 shlibpath_var=LD_LIBRARY_PATH
20409 case $host_vendor in
20411 shlibpath_overrides_runpath=no
20413 export_dynamic_flag_spec='${wl}-Blargedynsym'
20414 runpath_var=LD_RUN_PATH
20422 shlibpath_overrides_runpath=no
20423 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20429 if test -d /usr/nec ;then
20431 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20432 soname_spec='$libname${shared_ext}.$major'
20433 shlibpath_var=LD_LIBRARY_PATH
20437 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20438 version_type=freebsd-elf
20441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20442 soname_spec='${libname}${release}${shared_ext}$major'
20443 shlibpath_var=LD_LIBRARY_PATH
20444 hardcode_into_libs=yes
20445 if test "$with_gnu_ld" = yes; then
20446 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20447 shlibpath_overrides_runpath=no
20449 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20450 shlibpath_overrides_runpath=yes
20453 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20457 sys_lib_dlsearch_path_spec='/usr/lib'
20462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20463 soname_spec='${libname}${release}${shared_ext}$major'
20464 shlibpath_var=LD_LIBRARY_PATH
20471 { echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20472 echo "${ECHO_T}$dynamic_linker" >&6; }
20473 test "$dynamic_linker" = no && can_build_shared=no
20475 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20476 echo $ECHO_N "(cached) $ECHO_C" >&6
20478 lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20481 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20483 echo $ECHO_N "(cached) $ECHO_C" >&6
20485 lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20488 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20490 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20491 if test "$GCC" = yes; then
20492 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20495 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20496 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
20497 hardcode_action_GCJ=
20498 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
20499 test -n "$runpath_var_GCJ" || \
20500 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
20502 # We can hardcode non-existant directories.
20503 if test "$hardcode_direct_GCJ" != no &&
20504 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20505 # have to relink, otherwise we might link with an installed library
20506 # when we should be linking with a yet-to-be-installed one
20507 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
20508 test "$hardcode_minus_L_GCJ" != no; then
20509 # Linking always hardcodes the temporary library directory.
20510 hardcode_action_GCJ=relink
20512 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20513 hardcode_action_GCJ=immediate
20516 # We cannot hardcode anything, or else we can only hardcode existing
20518 hardcode_action_GCJ=unsupported
20520 { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
20521 echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
20523 if test "$hardcode_action_GCJ" = relink; then
20524 # Fast installation is not supported
20525 enable_fast_install=no
20526 elif test "$shlibpath_overrides_runpath" = yes ||
20527 test "$enable_shared" = no; then
20528 # Fast installation is not necessary
20529 enable_fast_install=needless
20533 # The else clause should only fire when bootstrapping the
20534 # libtool distribution, otherwise you forgot to ship ltmain.sh
20535 # with your package, and you will get complaints that there are
20536 # no rules to generate ltmain.sh.
20537 if test -f "$ltmain"; then
20538 # See if we are running on zsh, and set the options which allow our commands through
20539 # without removal of \ escapes.
20540 if test -n "${ZSH_VERSION+set}" ; then
20541 setopt NO_GLOB_SUBST
20543 # Now quote all the things that may contain metacharacters while being
20544 # careful not to overquote the AC_SUBSTed values. We take copies of the
20545 # variables and quote the copies for generation of the libtool script.
20546 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20548 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20549 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20550 deplibs_check_method reload_flag reload_cmds need_locks \
20551 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20552 lt_cv_sys_global_symbol_to_c_name_address \
20553 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20554 old_postinstall_cmds old_postuninstall_cmds \
20558 lt_prog_compiler_wl_GCJ \
20559 lt_prog_compiler_pic_GCJ \
20560 lt_prog_compiler_static_GCJ \
20561 lt_prog_compiler_no_builtin_flag_GCJ \
20562 export_dynamic_flag_spec_GCJ \
20563 thread_safe_flag_spec_GCJ \
20564 whole_archive_flag_spec_GCJ \
20565 enable_shared_with_static_runtimes_GCJ \
20566 old_archive_cmds_GCJ \
20567 old_archive_from_new_cmds_GCJ \
20568 predep_objects_GCJ \
20569 postdep_objects_GCJ \
20572 compiler_lib_search_path_GCJ \
20573 compiler_lib_search_dirs_GCJ \
20575 archive_expsym_cmds_GCJ \
20576 postinstall_cmds_GCJ \
20577 postuninstall_cmds_GCJ \
20578 old_archive_from_expsyms_cmds_GCJ \
20579 allow_undefined_flag_GCJ \
20580 no_undefined_flag_GCJ \
20581 export_symbols_cmds_GCJ \
20582 hardcode_libdir_flag_spec_GCJ \
20583 hardcode_libdir_flag_spec_ld_GCJ \
20584 hardcode_libdir_separator_GCJ \
20585 hardcode_automatic_GCJ \
20587 module_expsym_cmds_GCJ \
20588 lt_cv_prog_compiler_c_o_GCJ \
20589 fix_srcfile_path_GCJ \
20590 exclude_expsyms_GCJ \
20591 include_expsyms_GCJ; do
20594 old_archive_cmds_GCJ | \
20595 old_archive_from_new_cmds_GCJ | \
20596 archive_cmds_GCJ | \
20597 archive_expsym_cmds_GCJ | \
20598 module_cmds_GCJ | \
20599 module_expsym_cmds_GCJ | \
20600 old_archive_from_expsyms_cmds_GCJ | \
20601 export_symbols_cmds_GCJ | \
20602 extract_expsyms_cmds | reload_cmds | finish_cmds | \
20603 postinstall_cmds | postuninstall_cmds | \
20604 old_postinstall_cmds | old_postuninstall_cmds | \
20605 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20606 # Double-quote double-evaled strings.
20607 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20610 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20616 *'\$0 --fallback-echo"')
20617 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20623 cat <<__EOF__ >> "$cfgfile"
20624 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
20626 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20628 # Shell to use when invoking shell scripts.
20631 # Whether or not to build shared libraries.
20632 build_libtool_libs=$enable_shared
20634 # Whether or not to build static libraries.
20635 build_old_libs=$enable_static
20637 # Whether or not to add -lc for building shared libraries.
20638 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20640 # Whether or not to disallow shared libs when runtime libs are static
20641 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20643 # Whether or not to optimize for fast installation.
20644 fast_install=$enable_fast_install
20647 host_alias=$host_alias
20651 # The build system.
20652 build_alias=$build_alias
20656 # An echo program that does not interpret backslashes.
20661 AR_FLAGS=$lt_AR_FLAGS
20666 # LTCC compiler flags.
20667 LTCFLAGS=$lt_LTCFLAGS
20669 # A language-specific compiler.
20670 CC=$lt_compiler_GCJ
20672 # Is the compiler the GNU C compiler?
20678 # The linker used to build libraries.
20681 # Whether we need hard or soft links.
20684 # A BSD-compatible nm program.
20687 # A symbol stripping program
20690 # Used to examine libraries when file_magic_cmd begins "file"
20691 MAGIC_CMD=$MAGIC_CMD
20693 # Used on cygwin: DLL creation program.
20696 # Used on cygwin: object dumper.
20699 # Used on cygwin: assembler.
20702 # The name of the directory that contains temporary libtool files.
20705 # How to create reloadable object files.
20706 reload_flag=$lt_reload_flag
20707 reload_cmds=$lt_reload_cmds
20709 # How to pass a linker flag through the compiler.
20710 wl=$lt_lt_prog_compiler_wl_GCJ
20712 # Object file suffix (normally "o").
20713 objext="$ac_objext"
20715 # Old archive suffix (normally "a").
20718 # Shared library suffix (normally ".so").
20719 shrext_cmds='$shrext_cmds'
20721 # Executable file suffix (normally "").
20724 # Additional compiler flags for building library objects.
20725 pic_flag=$lt_lt_prog_compiler_pic_GCJ
20728 # What is the maximum length of a command?
20729 max_cmd_len=$lt_cv_sys_max_cmd_len
20731 # Does compiler simultaneously support -c and -o options?
20732 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20734 # Must we lock files when doing compilation?
20735 need_locks=$lt_need_locks
20737 # Do we need the lib prefix for modules?
20738 need_lib_prefix=$need_lib_prefix
20740 # Do we need a version for libraries?
20741 need_version=$need_version
20743 # Whether dlopen is supported.
20744 dlopen_support=$enable_dlopen
20746 # Whether dlopen of programs is supported.
20747 dlopen_self=$enable_dlopen_self
20749 # Whether dlopen of statically linked programs is supported.
20750 dlopen_self_static=$enable_dlopen_self_static
20752 # Compiler flag to prevent dynamic linking.
20753 link_static_flag=$lt_lt_prog_compiler_static_GCJ
20755 # Compiler flag to turn off builtin functions.
20756 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20758 # Compiler flag to allow reflexive dlopens.
20759 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20761 # Compiler flag to generate shared objects directly from archives.
20762 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20764 # Compiler flag to generate thread-safe objects.
20765 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20767 # Library versioning type.
20768 version_type=$version_type
20770 # Format of library name prefix.
20771 libname_spec=$lt_libname_spec
20773 # List of archive names. First name is the real one, the rest are links.
20774 # The last name is the one that the linker finds with -lNAME.
20775 library_names_spec=$lt_library_names_spec
20777 # The coded name of the library, if different from the real name.
20778 soname_spec=$lt_soname_spec
20780 # Commands used to build and install an old-style archive.
20782 old_archive_cmds=$lt_old_archive_cmds_GCJ
20783 old_postinstall_cmds=$lt_old_postinstall_cmds
20784 old_postuninstall_cmds=$lt_old_postuninstall_cmds
20786 # Create an old-style archive from a shared archive.
20787 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20789 # Create a temporary old-style archive to link instead of a shared archive.
20790 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20792 # Commands used to build and install a shared archive.
20793 archive_cmds=$lt_archive_cmds_GCJ
20794 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20795 postinstall_cmds=$lt_postinstall_cmds
20796 postuninstall_cmds=$lt_postuninstall_cmds
20798 # Commands used to build a loadable module (assumed same as above if empty)
20799 module_cmds=$lt_module_cmds_GCJ
20800 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20802 # Commands to strip libraries.
20803 old_striplib=$lt_old_striplib
20804 striplib=$lt_striplib
20806 # Dependencies to place before the objects being linked to create a
20808 predep_objects=$lt_predep_objects_GCJ
20810 # Dependencies to place after the objects being linked to create a
20812 postdep_objects=$lt_postdep_objects_GCJ
20814 # Dependencies to place before the objects being linked to create a
20816 predeps=$lt_predeps_GCJ
20818 # Dependencies to place after the objects being linked to create a
20820 postdeps=$lt_postdeps_GCJ
20822 # The directories searched by this compiler when creating a shared
20824 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20826 # The library search path used internally by the compiler when linking
20827 # a shared library.
20828 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20830 # Method to check whether dependent libraries are shared objects.
20831 deplibs_check_method=$lt_deplibs_check_method
20833 # Command to use when deplibs_check_method == file_magic.
20834 file_magic_cmd=$lt_file_magic_cmd
20836 # Flag that allows shared libraries with undefined symbols to be built.
20837 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20839 # Flag that forces no undefined symbols.
20840 no_undefined_flag=$lt_no_undefined_flag_GCJ
20842 # Commands used to finish a libtool library installation in a directory.
20843 finish_cmds=$lt_finish_cmds
20845 # Same as above, but a single script fragment to be evaled but not shown.
20846 finish_eval=$lt_finish_eval
20848 # Take the output of nm and produce a listing of raw symbols and C names.
20849 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20851 # Transform the output of nm in a proper C declaration
20852 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20854 # Transform the output of nm in a C name address pair
20855 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20857 # This is the shared library runtime path variable.
20858 runpath_var=$runpath_var
20860 # This is the shared library path variable.
20861 shlibpath_var=$shlibpath_var
20863 # Is shlibpath searched before the hard-coded library search path?
20864 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20866 # How to hardcode a shared library path into an executable.
20867 hardcode_action=$hardcode_action_GCJ
20869 # Whether we should hardcode library paths into libraries.
20870 hardcode_into_libs=$hardcode_into_libs
20872 # Flag to hardcode \$libdir into a binary during linking.
20873 # This must work even if \$libdir does not exist.
20874 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20876 # If ld is used when linking, flag to hardcode \$libdir into
20877 # a binary during linking. This must work even if \$libdir does
20879 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20881 # Whether we need a single -rpath flag with a separated argument.
20882 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20884 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20885 # resulting binary.
20886 hardcode_direct=$hardcode_direct_GCJ
20888 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20889 # resulting binary.
20890 hardcode_minus_L=$hardcode_minus_L_GCJ
20892 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20893 # the resulting binary.
20894 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20896 # Set to yes if building a shared library automatically hardcodes DIR into the library
20897 # and all subsequent libraries and executables linked against it.
20898 hardcode_automatic=$hardcode_automatic_GCJ
20900 # Variables whose values should be saved in libtool wrapper scripts and
20901 # restored at relink time.
20902 variables_saved_for_relink="$variables_saved_for_relink"
20904 # Whether libtool must link a program against all its dependency libraries.
20905 link_all_deplibs=$link_all_deplibs_GCJ
20907 # Compile-time system search path for libraries
20908 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20910 # Run-time system search path for libraries
20911 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20913 # Fix the shell variable \$srcfile for the compiler.
20914 fix_srcfile_path=$lt_fix_srcfile_path
20916 # Set to yes if exported symbols are required.
20917 always_export_symbols=$always_export_symbols_GCJ
20919 # The commands to list exported symbols.
20920 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20922 # The commands to extract the exported symbol list from a shared archive.
20923 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20925 # Symbols that should not be listed in the preloaded symbols.
20926 exclude_expsyms=$lt_exclude_expsyms_GCJ
20928 # Symbols that must always be exported.
20929 include_expsyms=$lt_include_expsyms_GCJ
20931 # ### END LIBTOOL TAG CONFIG: $tagname
20937 # If there is no Makefile yet, we rely on a make rule to execute
20938 # `config.status --recheck' to rerun these tests and create the
20939 # libtool script then.
20940 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20941 if test -f "$ltmain_in"; then
20942 test -f Makefile && make "$ltmain"
20948 ac_cpp='$CPP $CPPFLAGS'
20949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20963 # Source file extension for RC test sources.
20966 # Object file extension for compiled RC test sources.
20970 # Code to be used in simple compile tests
20971 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20973 # Code to be used in simple link tests
20974 lt_simple_link_test_code="$lt_simple_compile_test_code"
20976 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
20978 # If no C compiler was specified, use CC.
20981 # If no C compiler flags were specified, use CFLAGS.
20982 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20984 # Allow CC to be a program name with arguments.
20988 # save warnings/boilerplate of simple test code
20989 ac_outfile=conftest.$ac_objext
20990 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20991 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20992 _lt_compiler_boilerplate=`cat conftest.err`
20995 ac_outfile=conftest.$ac_objext
20996 echo "$lt_simple_link_test_code" >conftest.$ac_ext
20997 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20998 _lt_linker_boilerplate=`cat conftest.err`
21002 # Allow CC to be a program name with arguments.
21007 for cc_temp in $compiler""; do
21009 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21010 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21015 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21017 lt_cv_prog_compiler_c_o_RC=yes
21019 # The else clause should only fire when bootstrapping the
21020 # libtool distribution, otherwise you forgot to ship ltmain.sh
21021 # with your package, and you will get complaints that there are
21022 # no rules to generate ltmain.sh.
21023 if test -f "$ltmain"; then
21024 # See if we are running on zsh, and set the options which allow our commands through
21025 # without removal of \ escapes.
21026 if test -n "${ZSH_VERSION+set}" ; then
21027 setopt NO_GLOB_SUBST
21029 # Now quote all the things that may contain metacharacters while being
21030 # careful not to overquote the AC_SUBSTed values. We take copies of the
21031 # variables and quote the copies for generation of the libtool script.
21032 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
21034 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
21035 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
21036 deplibs_check_method reload_flag reload_cmds need_locks \
21037 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
21038 lt_cv_sys_global_symbol_to_c_name_address \
21039 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
21040 old_postinstall_cmds old_postuninstall_cmds \
21044 lt_prog_compiler_wl_RC \
21045 lt_prog_compiler_pic_RC \
21046 lt_prog_compiler_static_RC \
21047 lt_prog_compiler_no_builtin_flag_RC \
21048 export_dynamic_flag_spec_RC \
21049 thread_safe_flag_spec_RC \
21050 whole_archive_flag_spec_RC \
21051 enable_shared_with_static_runtimes_RC \
21052 old_archive_cmds_RC \
21053 old_archive_from_new_cmds_RC \
21054 predep_objects_RC \
21055 postdep_objects_RC \
21058 compiler_lib_search_path_RC \
21059 compiler_lib_search_dirs_RC \
21061 archive_expsym_cmds_RC \
21062 postinstall_cmds_RC \
21063 postuninstall_cmds_RC \
21064 old_archive_from_expsyms_cmds_RC \
21065 allow_undefined_flag_RC \
21066 no_undefined_flag_RC \
21067 export_symbols_cmds_RC \
21068 hardcode_libdir_flag_spec_RC \
21069 hardcode_libdir_flag_spec_ld_RC \
21070 hardcode_libdir_separator_RC \
21071 hardcode_automatic_RC \
21073 module_expsym_cmds_RC \
21074 lt_cv_prog_compiler_c_o_RC \
21075 fix_srcfile_path_RC \
21076 exclude_expsyms_RC \
21077 include_expsyms_RC; do
21080 old_archive_cmds_RC | \
21081 old_archive_from_new_cmds_RC | \
21082 archive_cmds_RC | \
21083 archive_expsym_cmds_RC | \
21085 module_expsym_cmds_RC | \
21086 old_archive_from_expsyms_cmds_RC | \
21087 export_symbols_cmds_RC | \
21088 extract_expsyms_cmds | reload_cmds | finish_cmds | \
21089 postinstall_cmds | postuninstall_cmds | \
21090 old_postinstall_cmds | old_postuninstall_cmds | \
21091 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
21092 # Double-quote double-evaled strings.
21093 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
21096 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
21102 *'\$0 --fallback-echo"')
21103 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
21109 cat <<__EOF__ >> "$cfgfile"
21110 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
21112 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21114 # Shell to use when invoking shell scripts.
21117 # Whether or not to build shared libraries.
21118 build_libtool_libs=$enable_shared
21120 # Whether or not to build static libraries.
21121 build_old_libs=$enable_static
21123 # Whether or not to add -lc for building shared libraries.
21124 build_libtool_need_lc=$archive_cmds_need_lc_RC
21126 # Whether or not to disallow shared libs when runtime libs are static
21127 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
21129 # Whether or not to optimize for fast installation.
21130 fast_install=$enable_fast_install
21133 host_alias=$host_alias
21137 # The build system.
21138 build_alias=$build_alias
21142 # An echo program that does not interpret backslashes.
21147 AR_FLAGS=$lt_AR_FLAGS
21152 # LTCC compiler flags.
21153 LTCFLAGS=$lt_LTCFLAGS
21155 # A language-specific compiler.
21158 # Is the compiler the GNU C compiler?
21164 # The linker used to build libraries.
21167 # Whether we need hard or soft links.
21170 # A BSD-compatible nm program.
21173 # A symbol stripping program
21176 # Used to examine libraries when file_magic_cmd begins "file"
21177 MAGIC_CMD=$MAGIC_CMD
21179 # Used on cygwin: DLL creation program.
21182 # Used on cygwin: object dumper.
21185 # Used on cygwin: assembler.
21188 # The name of the directory that contains temporary libtool files.
21191 # How to create reloadable object files.
21192 reload_flag=$lt_reload_flag
21193 reload_cmds=$lt_reload_cmds
21195 # How to pass a linker flag through the compiler.
21196 wl=$lt_lt_prog_compiler_wl_RC
21198 # Object file suffix (normally "o").
21199 objext="$ac_objext"
21201 # Old archive suffix (normally "a").
21204 # Shared library suffix (normally ".so").
21205 shrext_cmds='$shrext_cmds'
21207 # Executable file suffix (normally "").
21210 # Additional compiler flags for building library objects.
21211 pic_flag=$lt_lt_prog_compiler_pic_RC
21214 # What is the maximum length of a command?
21215 max_cmd_len=$lt_cv_sys_max_cmd_len
21217 # Does compiler simultaneously support -c and -o options?
21218 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
21220 # Must we lock files when doing compilation?
21221 need_locks=$lt_need_locks
21223 # Do we need the lib prefix for modules?
21224 need_lib_prefix=$need_lib_prefix
21226 # Do we need a version for libraries?
21227 need_version=$need_version
21229 # Whether dlopen is supported.
21230 dlopen_support=$enable_dlopen
21232 # Whether dlopen of programs is supported.
21233 dlopen_self=$enable_dlopen_self
21235 # Whether dlopen of statically linked programs is supported.
21236 dlopen_self_static=$enable_dlopen_self_static
21238 # Compiler flag to prevent dynamic linking.
21239 link_static_flag=$lt_lt_prog_compiler_static_RC
21241 # Compiler flag to turn off builtin functions.
21242 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
21244 # Compiler flag to allow reflexive dlopens.
21245 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
21247 # Compiler flag to generate shared objects directly from archives.
21248 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
21250 # Compiler flag to generate thread-safe objects.
21251 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
21253 # Library versioning type.
21254 version_type=$version_type
21256 # Format of library name prefix.
21257 libname_spec=$lt_libname_spec
21259 # List of archive names. First name is the real one, the rest are links.
21260 # The last name is the one that the linker finds with -lNAME.
21261 library_names_spec=$lt_library_names_spec
21263 # The coded name of the library, if different from the real name.
21264 soname_spec=$lt_soname_spec
21266 # Commands used to build and install an old-style archive.
21268 old_archive_cmds=$lt_old_archive_cmds_RC
21269 old_postinstall_cmds=$lt_old_postinstall_cmds
21270 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21272 # Create an old-style archive from a shared archive.
21273 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
21275 # Create a temporary old-style archive to link instead of a shared archive.
21276 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
21278 # Commands used to build and install a shared archive.
21279 archive_cmds=$lt_archive_cmds_RC
21280 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
21281 postinstall_cmds=$lt_postinstall_cmds
21282 postuninstall_cmds=$lt_postuninstall_cmds
21284 # Commands used to build a loadable module (assumed same as above if empty)
21285 module_cmds=$lt_module_cmds_RC
21286 module_expsym_cmds=$lt_module_expsym_cmds_RC
21288 # Commands to strip libraries.
21289 old_striplib=$lt_old_striplib
21290 striplib=$lt_striplib
21292 # Dependencies to place before the objects being linked to create a
21294 predep_objects=$lt_predep_objects_RC
21296 # Dependencies to place after the objects being linked to create a
21298 postdep_objects=$lt_postdep_objects_RC
21300 # Dependencies to place before the objects being linked to create a
21302 predeps=$lt_predeps_RC
21304 # Dependencies to place after the objects being linked to create a
21306 postdeps=$lt_postdeps_RC
21308 # The directories searched by this compiler when creating a shared
21310 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
21312 # The library search path used internally by the compiler when linking
21313 # a shared library.
21314 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
21316 # Method to check whether dependent libraries are shared objects.
21317 deplibs_check_method=$lt_deplibs_check_method
21319 # Command to use when deplibs_check_method == file_magic.
21320 file_magic_cmd=$lt_file_magic_cmd
21322 # Flag that allows shared libraries with undefined symbols to be built.
21323 allow_undefined_flag=$lt_allow_undefined_flag_RC
21325 # Flag that forces no undefined symbols.
21326 no_undefined_flag=$lt_no_undefined_flag_RC
21328 # Commands used to finish a libtool library installation in a directory.
21329 finish_cmds=$lt_finish_cmds
21331 # Same as above, but a single script fragment to be evaled but not shown.
21332 finish_eval=$lt_finish_eval
21334 # Take the output of nm and produce a listing of raw symbols and C names.
21335 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21337 # Transform the output of nm in a proper C declaration
21338 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21340 # Transform the output of nm in a C name address pair
21341 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21343 # This is the shared library runtime path variable.
21344 runpath_var=$runpath_var
21346 # This is the shared library path variable.
21347 shlibpath_var=$shlibpath_var
21349 # Is shlibpath searched before the hard-coded library search path?
21350 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21352 # How to hardcode a shared library path into an executable.
21353 hardcode_action=$hardcode_action_RC
21355 # Whether we should hardcode library paths into libraries.
21356 hardcode_into_libs=$hardcode_into_libs
21358 # Flag to hardcode \$libdir into a binary during linking.
21359 # This must work even if \$libdir does not exist.
21360 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
21362 # If ld is used when linking, flag to hardcode \$libdir into
21363 # a binary during linking. This must work even if \$libdir does
21365 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
21367 # Whether we need a single -rpath flag with a separated argument.
21368 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
21370 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
21371 # resulting binary.
21372 hardcode_direct=$hardcode_direct_RC
21374 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
21375 # resulting binary.
21376 hardcode_minus_L=$hardcode_minus_L_RC
21378 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
21379 # the resulting binary.
21380 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
21382 # Set to yes if building a shared library automatically hardcodes DIR into the library
21383 # and all subsequent libraries and executables linked against it.
21384 hardcode_automatic=$hardcode_automatic_RC
21386 # Variables whose values should be saved in libtool wrapper scripts and
21387 # restored at relink time.
21388 variables_saved_for_relink="$variables_saved_for_relink"
21390 # Whether libtool must link a program against all its dependency libraries.
21391 link_all_deplibs=$link_all_deplibs_RC
21393 # Compile-time system search path for libraries
21394 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21396 # Run-time system search path for libraries
21397 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21399 # Fix the shell variable \$srcfile for the compiler.
21400 fix_srcfile_path=$lt_fix_srcfile_path
21402 # Set to yes if exported symbols are required.
21403 always_export_symbols=$always_export_symbols_RC
21405 # The commands to list exported symbols.
21406 export_symbols_cmds=$lt_export_symbols_cmds_RC
21408 # The commands to extract the exported symbol list from a shared archive.
21409 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21411 # Symbols that should not be listed in the preloaded symbols.
21412 exclude_expsyms=$lt_exclude_expsyms_RC
21414 # Symbols that must always be exported.
21415 include_expsyms=$lt_include_expsyms_RC
21417 # ### END LIBTOOL TAG CONFIG: $tagname
21423 # If there is no Makefile yet, we rely on a make rule to execute
21424 # `config.status --recheck' to rerun these tests and create the
21425 # libtool script then.
21426 ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
21427 if test -f "$ltmain_in"; then
21428 test -f Makefile && make "$ltmain"
21434 ac_cpp='$CPP $CPPFLAGS'
21435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21444 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
21445 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
21446 { (exit 1); exit 1; }; }
21450 # Append the new tag name to the list of available tags.
21451 if test -n "$tagname" ; then
21452 available_tags="$available_tags $tagname"
21458 # Now substitute the updated list of available tags.
21459 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
21460 mv "${ofile}T" "$ofile"
21464 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
21465 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
21466 { (exit 1); exit 1; }; }
21472 # This can be used to rebuild libtool when needed
21473 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
21475 # Always use our own libtool.
21476 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
21478 # Prevent multiple expansion
21502 # -Wunreachable-code can't be used with library
21503 CFLAGS="$CFLAGS -pedantic-errors -Wall -Wmissing-prototypes -Wcast-align -std=c99"
21505 # set -fgnu89-inline for GCC4 compilers
21506 if test -z "$ac_cv_prog_CC"; then
21507 configure_gcc="$CC"
21509 configure_gcc="$ac_cv_prog_CC"
21511 if $configure_gcc --version | sed -e 's,\..*,.,' -e q | grep -q 4.$ ; then
21512 CFLAGS="$CFLAGS -fgnu89-inline"
21519 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
21520 if test -n "$ac_tool_prefix"; then
21521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
21522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
21523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 case $PKG_CONFIG in
21530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21534 for as_dir in $PATH
21537 test -z "$as_dir" && as_dir=.
21538 for ac_exec_ext in '' $ac_executable_extensions; do
21539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21552 if test -n "$PKG_CONFIG"; then
21553 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21554 echo "${ECHO_T}$PKG_CONFIG" >&6; }
21556 { echo "$as_me:$LINENO: result: no" >&5
21557 echo "${ECHO_T}no" >&6; }
21562 if test -z "$ac_cv_path_PKG_CONFIG"; then
21563 ac_pt_PKG_CONFIG=$PKG_CONFIG
21564 # Extract the first word of "pkg-config", so it can be a program name with args.
21565 set dummy pkg-config; ac_word=$2
21566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
21567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
21568 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 case $ac_pt_PKG_CONFIG in
21573 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
21576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21577 for as_dir in $PATH
21580 test -z "$as_dir" && as_dir=.
21581 for ac_exec_ext in '' $ac_executable_extensions; do
21582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21583 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21594 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
21595 if test -n "$ac_pt_PKG_CONFIG"; then
21596 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
21597 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
21599 { echo "$as_me:$LINENO: result: no" >&5
21600 echo "${ECHO_T}no" >&6; }
21603 if test "x$ac_pt_PKG_CONFIG" = x; then
21606 case $cross_compiling:$ac_tool_warned in
21608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
21609 whose name does not start with the host triplet. If you think this
21610 configuration is useful to you, please write to autoconf@gnu.org." >&5
21611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
21612 whose name does not start with the host triplet. If you think this
21613 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
21614 ac_tool_warned=yes ;;
21616 PKG_CONFIG=$ac_pt_PKG_CONFIG
21619 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
21623 if test -n "$PKG_CONFIG"; then
21624 _pkg_min_version=0.9.0
21625 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
21626 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
21627 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
21628 { echo "$as_me:$LINENO: result: yes" >&5
21629 echo "${ECHO_T}yes" >&6; }
21631 { echo "$as_me:$LINENO: result: no" >&5
21632 echo "${ECHO_T}no" >&6; }
21639 { echo "$as_me:$LINENO: checking for PACKAGE" >&5
21640 echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6; }
21642 if test -n "$PKG_CONFIG"; then
21643 if test -n "$PACKAGE_CFLAGS"; then
21644 pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
21646 if test -n "$PKG_CONFIG" && \
21647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl\"") >&5
21648 ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl") 2>&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; then
21652 pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl" 2>/dev/null`
21660 if test -n "$PKG_CONFIG"; then
21661 if test -n "$PACKAGE_LIBS"; then
21662 pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
21664 if test -n "$PKG_CONFIG" && \
21665 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl\"") >&5
21666 ($PKG_CONFIG --exists --print-errors "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl") 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; then
21670 pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl" 2>/dev/null`
21681 if test $pkg_failed = yes; then
21683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21684 _pkg_short_errors_supported=yes
21686 _pkg_short_errors_supported=no
21688 if test $_pkg_short_errors_supported = yes; then
21689 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl"`
21691 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl"`
21693 # Put the nasty error message in config.log where it belongs
21694 echo "$PACKAGE_PKG_ERRORS" >&5
21696 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl) were not met:
21698 $PACKAGE_PKG_ERRORS
21700 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21701 installed software in a non-standard prefix.
21703 Alternatively, you may set the environment variables PACKAGE_CFLAGS
21704 and PACKAGE_LIBS to avoid the need to call pkg-config.
21705 See the pkg-config man page for more details.
21707 echo "$as_me: error: Package requirements (glib-2.0 gtk+-2.0 libsharing conic libxml-2.0 libcurl) were not met:
21709 $PACKAGE_PKG_ERRORS
21711 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21712 installed software in a non-standard prefix.
21714 Alternatively, you may set the environment variables PACKAGE_CFLAGS
21715 and PACKAGE_LIBS to avoid the need to call pkg-config.
21716 See the pkg-config man page for more details.
21718 { (exit 1); exit 1; }; }
21719 elif test $pkg_failed = untried; then
21720 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21721 is in your PATH or set the PKG_CONFIG environment variable to the full
21722 path to pkg-config.
21724 Alternatively, you may set the environment variables PACKAGE_CFLAGS
21725 and PACKAGE_LIBS to avoid the need to call pkg-config.
21726 See the pkg-config man page for more details.
21728 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21729 See \`config.log' for more details." >&5
21730 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21731 is in your PATH or set the PKG_CONFIG environment variable to the full
21732 path to pkg-config.
21734 Alternatively, you may set the environment variables PACKAGE_CFLAGS
21735 and PACKAGE_LIBS to avoid the need to call pkg-config.
21736 See the pkg-config man page for more details.
21738 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21739 See \`config.log' for more details." >&2;}
21740 { (exit 1); exit 1; }; }
21742 PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
21743 PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
21744 { echo "$as_me:$LINENO: result: yes" >&5
21745 echo "${ECHO_T}yes" >&6; }
21753 { echo "$as_me:$LINENO: checking for SHARING" >&5
21754 echo $ECHO_N "checking for SHARING... $ECHO_C" >&6; }
21756 if test -n "$PKG_CONFIG"; then
21757 if test -n "$SHARING_CFLAGS"; then
21758 pkg_cv_SHARING_CFLAGS="$SHARING_CFLAGS"
21760 if test -n "$PKG_CONFIG" && \
21761 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsharing\"") >&5
21762 ($PKG_CONFIG --exists --print-errors "libsharing") 2>&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; then
21766 pkg_cv_SHARING_CFLAGS=`$PKG_CONFIG --cflags "libsharing" 2>/dev/null`
21774 if test -n "$PKG_CONFIG"; then
21775 if test -n "$SHARING_LIBS"; then
21776 pkg_cv_SHARING_LIBS="$SHARING_LIBS"
21778 if test -n "$PKG_CONFIG" && \
21779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsharing\"") >&5
21780 ($PKG_CONFIG --exists --print-errors "libsharing") 2>&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); }; then
21784 pkg_cv_SHARING_LIBS=`$PKG_CONFIG --libs "libsharing" 2>/dev/null`
21795 if test $pkg_failed = yes; then
21797 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21798 _pkg_short_errors_supported=yes
21800 _pkg_short_errors_supported=no
21802 if test $_pkg_short_errors_supported = yes; then
21803 SHARING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsharing"`
21805 SHARING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsharing"`
21807 # Put the nasty error message in config.log where it belongs
21808 echo "$SHARING_PKG_ERRORS" >&5
21810 { { echo "$as_me:$LINENO: error: Package requirements (libsharing) were not met:
21812 $SHARING_PKG_ERRORS
21814 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21815 installed software in a non-standard prefix.
21817 Alternatively, you may set the environment variables SHARING_CFLAGS
21818 and SHARING_LIBS to avoid the need to call pkg-config.
21819 See the pkg-config man page for more details.
21821 echo "$as_me: error: Package requirements (libsharing) were not met:
21823 $SHARING_PKG_ERRORS
21825 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21826 installed software in a non-standard prefix.
21828 Alternatively, you may set the environment variables SHARING_CFLAGS
21829 and SHARING_LIBS to avoid the need to call pkg-config.
21830 See the pkg-config man page for more details.
21832 { (exit 1); exit 1; }; }
21833 elif test $pkg_failed = untried; then
21834 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21835 is in your PATH or set the PKG_CONFIG environment variable to the full
21836 path to pkg-config.
21838 Alternatively, you may set the environment variables SHARING_CFLAGS
21839 and SHARING_LIBS to avoid the need to call pkg-config.
21840 See the pkg-config man page for more details.
21842 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21843 See \`config.log' for more details." >&5
21844 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21845 is in your PATH or set the PKG_CONFIG environment variable to the full
21846 path to pkg-config.
21848 Alternatively, you may set the environment variables SHARING_CFLAGS
21849 and SHARING_LIBS to avoid the need to call pkg-config.
21850 See the pkg-config man page for more details.
21852 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21853 See \`config.log' for more details." >&2;}
21854 { (exit 1); exit 1; }; }
21856 SHARING_CFLAGS=$pkg_cv_SHARING_CFLAGS
21857 SHARING_LIBS=$pkg_cv_SHARING_LIBS
21858 { echo "$as_me:$LINENO: result: yes" >&5
21859 echo "${ECHO_T}yes" >&6; }
21865 { echo "$as_me:$LINENO: checking for XML" >&5
21866 echo $ECHO_N "checking for XML... $ECHO_C" >&6; }
21868 if test -n "$PKG_CONFIG"; then
21869 if test -n "$XML_CFLAGS"; then
21870 pkg_cv_XML_CFLAGS="$XML_CFLAGS"
21872 if test -n "$PKG_CONFIG" && \
21873 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
21874 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; then
21878 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
21886 if test -n "$PKG_CONFIG"; then
21887 if test -n "$XML_LIBS"; then
21888 pkg_cv_XML_LIBS="$XML_LIBS"
21890 if test -n "$PKG_CONFIG" && \
21891 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
21892 ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; then
21896 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
21907 if test $pkg_failed = yes; then
21909 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21910 _pkg_short_errors_supported=yes
21912 _pkg_short_errors_supported=no
21914 if test $_pkg_short_errors_supported = yes; then
21915 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0"`
21917 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0"`
21919 # Put the nasty error message in config.log where it belongs
21920 echo "$XML_PKG_ERRORS" >&5
21922 { { echo "$as_me:$LINENO: error: Package requirements (libxml-2.0) were not met:
21926 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21927 installed software in a non-standard prefix.
21929 Alternatively, you may set the environment variables XML_CFLAGS
21930 and XML_LIBS to avoid the need to call pkg-config.
21931 See the pkg-config man page for more details.
21933 echo "$as_me: error: Package requirements (libxml-2.0) were not met:
21937 Consider adjusting the PKG_CONFIG_PATH environment variable if you
21938 installed software in a non-standard prefix.
21940 Alternatively, you may set the environment variables XML_CFLAGS
21941 and XML_LIBS to avoid the need to call pkg-config.
21942 See the pkg-config man page for more details.
21944 { (exit 1); exit 1; }; }
21945 elif test $pkg_failed = untried; then
21946 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
21947 is in your PATH or set the PKG_CONFIG environment variable to the full
21948 path to pkg-config.
21950 Alternatively, you may set the environment variables XML_CFLAGS
21951 and XML_LIBS to avoid the need to call pkg-config.
21952 See the pkg-config man page for more details.
21954 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21955 See \`config.log' for more details." >&5
21956 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
21957 is in your PATH or set the PKG_CONFIG environment variable to the full
21958 path to pkg-config.
21960 Alternatively, you may set the environment variables XML_CFLAGS
21961 and XML_LIBS to avoid the need to call pkg-config.
21962 See the pkg-config man page for more details.
21964 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21965 See \`config.log' for more details." >&2;}
21966 { (exit 1); exit 1; }; }
21968 XML_CFLAGS=$pkg_cv_XML_CFLAGS
21969 XML_LIBS=$pkg_cv_XML_LIBS
21970 { echo "$as_me:$LINENO: result: yes" >&5
21971 echo "${ECHO_T}yes" >&6; }
21977 { echo "$as_me:$LINENO: checking for CURL" >&5
21978 echo $ECHO_N "checking for CURL... $ECHO_C" >&6; }
21980 if test -n "$PKG_CONFIG"; then
21981 if test -n "$CURL_CFLAGS"; then
21982 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
21984 if test -n "$PKG_CONFIG" && \
21985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
21986 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; then
21990 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
21998 if test -n "$PKG_CONFIG"; then
21999 if test -n "$CURL_LIBS"; then
22000 pkg_cv_CURL_LIBS="$CURL_LIBS"
22002 if test -n "$PKG_CONFIG" && \
22003 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
22004 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; then
22008 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
22019 if test $pkg_failed = yes; then
22021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22022 _pkg_short_errors_supported=yes
22024 _pkg_short_errors_supported=no
22026 if test $_pkg_short_errors_supported = yes; then
22027 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
22029 CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
22031 # Put the nasty error message in config.log where it belongs
22032 echo "$CURL_PKG_ERRORS" >&5
22034 { { echo "$as_me:$LINENO: error: Package requirements (libcurl) were not met:
22038 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22039 installed software in a non-standard prefix.
22041 Alternatively, you may set the environment variables CURL_CFLAGS
22042 and CURL_LIBS to avoid the need to call pkg-config.
22043 See the pkg-config man page for more details.
22045 echo "$as_me: error: Package requirements (libcurl) were not met:
22049 Consider adjusting the PKG_CONFIG_PATH environment variable if you
22050 installed software in a non-standard prefix.
22052 Alternatively, you may set the environment variables CURL_CFLAGS
22053 and CURL_LIBS to avoid the need to call pkg-config.
22054 See the pkg-config man page for more details.
22056 { (exit 1); exit 1; }; }
22057 elif test $pkg_failed = untried; then
22058 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22059 is in your PATH or set the PKG_CONFIG environment variable to the full
22060 path to pkg-config.
22062 Alternatively, you may set the environment variables CURL_CFLAGS
22063 and CURL_LIBS to avoid the need to call pkg-config.
22064 See the pkg-config man page for more details.
22066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22067 See \`config.log' for more details." >&5
22068 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22069 is in your PATH or set the PKG_CONFIG environment variable to the full
22070 path to pkg-config.
22072 Alternatively, you may set the environment variables CURL_CFLAGS
22073 and CURL_LIBS to avoid the need to call pkg-config.
22074 See the pkg-config man page for more details.
22076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22077 See \`config.log' for more details." >&2;}
22078 { (exit 1); exit 1; }; }
22080 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
22081 CURL_LIBS=$pkg_cv_CURL_LIBS
22082 { echo "$as_me:$LINENO: result: yes" >&5
22083 echo "${ECHO_T}yes" >&6; }
22090 pluginsdir=`$PKG_CONFIG libsharing --variable=pluginsdir`
22094 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22095 if test -n "$ac_tool_prefix"; then
22096 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22097 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22100 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22101 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 case $PKG_CONFIG in
22105 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22109 for as_dir in $PATH
22112 test -z "$as_dir" && as_dir=.
22113 for ac_exec_ext in '' $ac_executable_extensions; do
22114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22115 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22126 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22127 if test -n "$PKG_CONFIG"; then
22128 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22129 echo "${ECHO_T}$PKG_CONFIG" >&6; }
22131 { echo "$as_me:$LINENO: result: no" >&5
22132 echo "${ECHO_T}no" >&6; }
22137 if test -z "$ac_cv_path_PKG_CONFIG"; then
22138 ac_pt_PKG_CONFIG=$PKG_CONFIG
22139 # Extract the first word of "pkg-config", so it can be a program name with args.
22140 set dummy pkg-config; ac_word=$2
22141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22143 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22144 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 case $ac_pt_PKG_CONFIG in
22148 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22152 for as_dir in $PATH
22155 test -z "$as_dir" && as_dir=.
22156 for ac_exec_ext in '' $ac_executable_extensions; do
22157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22158 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22169 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22170 if test -n "$ac_pt_PKG_CONFIG"; then
22171 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22172 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22174 { echo "$as_me:$LINENO: result: no" >&5
22175 echo "${ECHO_T}no" >&6; }
22178 if test "x$ac_pt_PKG_CONFIG" = x; then
22181 case $cross_compiling:$ac_tool_warned in
22183 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22184 whose name does not start with the host triplet. If you think this
22185 configuration is useful to you, please write to autoconf@gnu.org." >&5
22186 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22187 whose name does not start with the host triplet. If you think this
22188 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22189 ac_tool_warned=yes ;;
22191 PKG_CONFIG=$ac_pt_PKG_CONFIG
22194 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22198 if test -n "$PKG_CONFIG"; then
22199 _pkg_min_version=0.9.0
22200 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22201 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22202 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22203 { echo "$as_me:$LINENO: result: yes" >&5
22204 echo "${ECHO_T}yes" >&6; }
22206 { echo "$as_me:$LINENO: result: no" >&5
22207 echo "${ECHO_T}no" >&6; }
22212 servicesdir=`$PKG_CONFIG libsharing --variable=servicesdir`
22217 # Check whether --enable-debug was given.
22218 if test "${enable_debug+set}" = set; then
22219 enableval=$enable_debug; enable_debug=yes
22225 if test x$enable_debug = xyes; then
22226 DEBUG_CFLAGS="-DOSSOLOG_COMPILE"
22232 DATADIRNAME="share"
22233 if test "x${prefix}" = "xNONE"; then
22235 cat >>confdefs.h <<_ACEOF
22236 @%:@define PACKAGE_LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale"
22241 cat >>confdefs.h <<_ACEOF
22242 @%:@define PACKAGE_LOCALE_DIR "${prefix}/${DATADIRNAME}/locale"
22250 ac_config_files="$ac_config_files Makefile data/Makefile data/yandexfotki.service.xml src/Makefile"
22252 cat >confcache <<\_ACEOF
22253 # This file is a shell script that caches the results of configure
22254 # tests run on this system so they can be shared between configure
22255 # scripts and configure runs, see configure's option --config-cache.
22256 # It is not useful on other systems. If it contains results you don't
22257 # want to keep, you may remove or edit it.
22259 # config.status only pays attention to the cache file if you give it
22260 # the --recheck option to rerun configure.
22262 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22263 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22264 # following values.
22268 # The following way of writing the cache mishandles newlines in values,
22269 # but we know of no workaround that is simple, portable, and efficient.
22270 # So, we kill variables containing newlines.
22271 # Ultrix sh set writes to stderr and can't be redirected directly,
22272 # and sets the high bit in the cache file unless we assign to the vars.
22274 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22275 eval ac_val=\$$ac_var
22279 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22280 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22283 _ | IFS | as_nl) ;; #(
22284 *) $as_unset $ac_var ;;
22290 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22291 *${as_nl}ac_space=\ *)
22292 # `set' does not quote correctly, so add quotes (double-quote
22293 # substitution turns \\\\ into \\, and sed turns \\ into \).
22296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22299 # `set' quotes correctly as required by POSIX, so do not add quotes.
22300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22311 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22313 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22314 if test -w "$cache_file"; then
22315 test "x$cache_file" != "x/dev/null" &&
22316 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22317 echo "$as_me: updating cache $cache_file" >&6;}
22318 cat confcache >$cache_file
22320 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22321 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22326 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22327 # Let make expand exec_prefix.
22328 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22330 DEFS=-DHAVE_CONFIG_H
22334 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
22335 # 1. Remove the extension, and $U if already installed.
22336 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22337 ac_i=`echo "$ac_i" | sed "$ac_script"`
22338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22339 # will be set to the directory where LIBOBJS objects are built.
22340 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22341 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22343 LIB@&t@OBJS=$ac_libobjs
22345 LTLIBOBJS=$ac_ltlibobjs
22348 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22349 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
22350 Usually this means the macro was only invoked conditionally." >&5
22351 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
22352 Usually this means the macro was only invoked conditionally." >&2;}
22353 { (exit 1); exit 1; }; }
22355 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22356 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22357 Usually this means the macro was only invoked conditionally." >&5
22358 echo "$as_me: error: conditional \"AMDEP\" was never defined.
22359 Usually this means the macro was only invoked conditionally." >&2;}
22360 { (exit 1); exit 1; }; }
22362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22363 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22364 Usually this means the macro was only invoked conditionally." >&5
22365 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22366 Usually this means the macro was only invoked conditionally." >&2;}
22367 { (exit 1); exit 1; }; }
22369 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
22370 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
22371 Usually this means the macro was only invoked conditionally." >&5
22372 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
22373 Usually this means the macro was only invoked conditionally." >&2;}
22374 { (exit 1); exit 1; }; }
22376 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22377 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22378 Usually this means the macro was only invoked conditionally." >&5
22379 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22380 Usually this means the macro was only invoked conditionally." >&2;}
22381 { (exit 1); exit 1; }; }
22383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22384 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22385 Usually this means the macro was only invoked conditionally." >&5
22386 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22387 Usually this means the macro was only invoked conditionally." >&2;}
22388 { (exit 1); exit 1; }; }
22391 : ${CONFIG_STATUS=./config.status}
22392 ac_clean_files_save=$ac_clean_files
22393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22394 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22395 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22396 cat >$CONFIG_STATUS <<_ACEOF
22398 # Generated by $as_me.
22399 # Run this file to recreate the current configuration.
22400 # Compiler output produced by configure, useful for debugging
22401 # configure, is in config.log if it exists.
22404 ac_cs_recheck=false
22406 SHELL=\${CONFIG_SHELL-$SHELL}
22409 cat >>$CONFIG_STATUS <<\_ACEOF
22410 ## --------------------- ##
22411 ## M4sh Initialization. ##
22412 ## --------------------- ##
22414 # Be more Bourne compatible
22415 DUALCASE=1; export DUALCASE # for MKS sh
22416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22420 # is contrary to our usage. Disable this feature.
22421 alias -g '${1+"$@"}'='"$@"'
22422 setopt NO_GLOB_SUBST
22424 case `(set -o) 2>/dev/null` in
22425 *posix*) set -o posix ;;
22434 # Avoid depending upon Character Ranges.
22435 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22436 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22437 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22438 as_cr_digits='0123456789'
22439 as_cr_alnum=$as_cr_Letters$as_cr_digits
22441 # The user is always right.
22442 if test "${PATH_SEPARATOR+set}" != set; then
22443 echo "#! /bin/sh" >conf$$.sh
22444 echo "exit 0" >>conf$$.sh
22446 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22454 # Support unset when possible.
22455 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22463 # We need space, tab and new line, in precisely that order. Quoting is
22464 # there to prevent editors from complaining about space-tab.
22465 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22466 # splitting by setting IFS to empty value.)
22471 # Find who we are. Look in the path if we contain no directory separator.
22473 *[\\/]* ) as_myself=$0 ;;
22474 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22475 for as_dir in $PATH
22478 test -z "$as_dir" && as_dir=.
22479 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22485 # We did not find ourselves, most probably we were run as `sh COMMAND'
22486 # in which case we are not to be found in the path.
22487 if test "x$as_myself" = x; then
22490 if test ! -f "$as_myself"; then
22491 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22492 { (exit 1); exit 1; }
22495 # Work around bugs in pre-3.0 UWIN ksh.
22496 for as_var in ENV MAIL MAILPATH
22497 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22505 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22506 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22507 LC_TELEPHONE LC_TIME
22509 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22510 eval $as_var=C; export $as_var
22512 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22516 # Required to use basename.
22517 if expr a : '\(a\)' >/dev/null 2>&1 &&
22518 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22524 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22525 as_basename=basename
22531 # Name of the executable.
22532 as_me=`$as_basename -- "$0" ||
22533 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22534 X"$0" : 'X\(//\)$' \| \
22535 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22537 sed '/^.*\/\([^/][^/]*\)\/*$/{
22556 as_lineno_1=$LINENO
22557 as_lineno_2=$LINENO
22558 test "x$as_lineno_1" != "x$as_lineno_2" &&
22559 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22561 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22562 # uniformly replaced by the line number. The first 'sed' inserts a
22563 # line-number line after each line using $LINENO; the second 'sed'
22564 # does the real work. The second script uses 'N' to pair each
22565 # line-number line with the line containing $LINENO, and appends
22566 # trailing '-' during substitution so that $LINENO is not a special
22567 # case at line end.
22568 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22569 # scripts with optimization help from Paolo Bonzini. Blame Lee
22570 # E. McMahon (1931-1989) for sed's syntax. :-)
22582 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22585 ' >$as_me.lineno &&
22586 chmod +x "$as_me.lineno" ||
22587 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22588 { (exit 1); exit 1; }; }
22590 # Don't try to exec as it changes $[0], causing all sort of problems
22591 # (the dirname of $[0] is not the place where we might find the
22592 # original and so on. Autoconf is especially sensitive to this).
22593 . "./$as_me.lineno"
22594 # Exit status is that of the last command.
22599 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22605 ECHO_C= ECHO_N= ECHO_T=
22606 case `echo -n x` in
22608 case `echo 'x\c'` in
22609 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22616 if expr a : '\(a\)' >/dev/null 2>&1 &&
22617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22623 rm -f conf$$ conf$$.exe conf$$.file
22624 if test -d conf$$.dir; then
22625 rm -f conf$$.dir/conf$$.file
22631 if ln -s conf$$.file conf$$ 2>/dev/null; then
22633 # ... but there are two gotchas:
22634 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22635 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22636 # In both cases, we have to default to `cp -p'.
22637 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22639 elif ln conf$$.file conf$$ 2>/dev/null; then
22644 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22645 rmdir conf$$.dir 2>/dev/null
22647 if mkdir -p . 2>/dev/null; then
22650 test -d ./-p && rmdir ./-p
22654 if test -x / >/dev/null 2>&1; then
22655 as_test_x='test -x'
22657 if ls -dL / >/dev/null 2>&1; then
22664 if test -d "$1"; then
22670 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22671 ???[sx]*):;;*)false;;esac;fi
22675 as_executable_p=$as_test_x
22677 # Sed expression to map a string onto a valid CPP name.
22678 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22680 # Sed expression to map a string onto a valid variable name.
22681 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22686 # Save the log message, to keep $[0] and so on meaningful, and to
22687 # report actual input values of CONFIG_FILES etc. instead of their
22688 # values after options handling.
22690 This file was extended by yandex-fotki-sharing-plugin $as_me 0.1, which was
22691 generated by GNU Autoconf 2.61. Invocation command line was
22693 CONFIG_FILES = $CONFIG_FILES
22694 CONFIG_HEADERS = $CONFIG_HEADERS
22695 CONFIG_LINKS = $CONFIG_LINKS
22696 CONFIG_COMMANDS = $CONFIG_COMMANDS
22699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22704 cat >>$CONFIG_STATUS <<_ACEOF
22705 # Files that config.status was made for.
22706 config_files="$ac_config_files"
22707 config_headers="$ac_config_headers"
22708 config_commands="$ac_config_commands"
22712 cat >>$CONFIG_STATUS <<\_ACEOF
22714 \`$as_me' instantiates files from templates according to the
22715 current configuration.
22717 Usage: $0 [OPTIONS] [FILE]...
22719 -h, --help print this help, then exit
22720 -V, --version print version number and configuration settings, then exit
22721 -q, --quiet do not print progress messages
22722 -d, --debug don't remove temporary files
22723 --recheck update $as_me by reconfiguring in the same conditions
22724 --file=FILE[:TEMPLATE]
22725 instantiate the configuration file FILE
22726 --header=FILE[:TEMPLATE]
22727 instantiate the configuration header FILE
22729 Configuration files:
22732 Configuration headers:
22735 Configuration commands:
22738 Report bugs to <bug-autoconf@gnu.org>."
22741 cat >>$CONFIG_STATUS <<_ACEOF
22743 yandex-fotki-sharing-plugin config.status 0.1
22744 configured by $0, generated by GNU Autoconf 2.61,
22745 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22747 Copyright (C) 2006 Free Software Foundation, Inc.
22748 This config.status script is free software; the Free Software Foundation
22749 gives unlimited permission to copy, distribute and modify it."
22756 cat >>$CONFIG_STATUS <<\_ACEOF
22757 # If no file are specified by the user, then we need to provide default
22758 # value. By we need to know if files were specified by the user.
22764 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22765 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22776 # Handling of the options.
22777 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22779 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22780 echo "$ac_cs_version"; exit ;;
22781 --debug | --debu | --deb | --de | --d | -d )
22783 --file | --fil | --fi | --f )
22785 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22786 ac_need_defaults=false;;
22787 --header | --heade | --head | --hea )
22789 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22790 ac_need_defaults=false;;
22792 # Conflict between --help and --header
22793 { echo "$as_me: error: ambiguous option: $1
22794 Try \`$0 --help' for more information." >&2
22795 { (exit 1); exit 1; }; };;
22796 --help | --hel | -h )
22797 echo "$ac_cs_usage"; exit ;;
22798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22799 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22802 # This is an error.
22803 -*) { echo "$as_me: error: unrecognized option: $1
22804 Try \`$0 --help' for more information." >&2
22805 { (exit 1); exit 1; }; } ;;
22807 *) ac_config_targets="$ac_config_targets $1"
22808 ac_need_defaults=false ;;
22814 ac_configure_extra_args=
22816 if $ac_cs_silent; then
22818 ac_configure_extra_args="$ac_configure_extra_args --silent"
22822 cat >>$CONFIG_STATUS <<_ACEOF
22823 if \$ac_cs_recheck; then
22824 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22825 CONFIG_SHELL=$SHELL
22826 export CONFIG_SHELL
22827 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22831 cat >>$CONFIG_STATUS <<\_ACEOF
22835 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
22836 @%:@@%:@ Running $as_me. @%:@@%:@
22842 cat >>$CONFIG_STATUS <<_ACEOF
22846 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22850 cat >>$CONFIG_STATUS <<\_ACEOF
22852 # Handling of arguments.
22853 for ac_config_target in $ac_config_targets
22855 case $ac_config_target in
22856 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22857 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22858 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22859 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
22860 "data/yandexfotki.service.xml") CONFIG_FILES="$CONFIG_FILES data/yandexfotki.service.xml" ;;
22861 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22863 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22864 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22865 { (exit 1); exit 1; }; };;
22870 # If the user did not use the arguments to specify the items to instantiate,
22871 # then the envvar interface is used. Set only those that are not.
22872 # We use the long form for the default assignment because of an extremely
22873 # bizarre bug on SunOS 4.1.3.
22874 if $ac_need_defaults; then
22875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22880 # Have a temporary directory for convenience. Make it in the build tree
22881 # simply because there is no reason against having it here, and in addition,
22882 # creating and moving files from /tmp can sometimes cause problems.
22883 # Hook for its removal unless debugging.
22884 # Note that there is a small window in which the directory will not be cleaned:
22885 # after its creation but before its name has been assigned to `$tmp'.
22889 trap 'exit_status=$?
22890 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22892 trap '{ (exit 1); exit 1; }' 1 2 13 15
22894 # Create a (secure) tmp directory for tmp files.
22897 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22898 test -n "$tmp" && test -d "$tmp"
22901 tmp=./conf$$-$RANDOM
22902 (umask 077 && mkdir "$tmp")
22905 echo "$me: cannot create a temporary directory in ." >&2
22906 { (exit 1); exit 1; }
22910 # Set up the sed scripts for CONFIG_FILES section.
22913 # No need to generate the scripts if there are no CONFIG_FILES.
22914 # This happens for instance when ./config.status config.h
22915 if test -n "$CONFIG_FILES"; then
22922 for ac_last_try in false false false false false :; do
22923 cat >conf$$subs.sed <<_ACEOF
22924 SHELL!$SHELL$ac_delim
22925 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22926 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22927 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22928 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22929 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22930 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22931 exec_prefix!$exec_prefix$ac_delim
22932 prefix!$prefix$ac_delim
22933 program_transform_name!$program_transform_name$ac_delim
22934 bindir!$bindir$ac_delim
22935 sbindir!$sbindir$ac_delim
22936 libexecdir!$libexecdir$ac_delim
22937 datarootdir!$datarootdir$ac_delim
22938 datadir!$datadir$ac_delim
22939 sysconfdir!$sysconfdir$ac_delim
22940 sharedstatedir!$sharedstatedir$ac_delim
22941 localstatedir!$localstatedir$ac_delim
22942 includedir!$includedir$ac_delim
22943 oldincludedir!$oldincludedir$ac_delim
22944 docdir!$docdir$ac_delim
22945 infodir!$infodir$ac_delim
22946 htmldir!$htmldir$ac_delim
22947 dvidir!$dvidir$ac_delim
22948 pdfdir!$pdfdir$ac_delim
22949 psdir!$psdir$ac_delim
22950 libdir!$libdir$ac_delim
22951 localedir!$localedir$ac_delim
22952 mandir!$mandir$ac_delim
22953 DEFS!$DEFS$ac_delim
22954 ECHO_C!$ECHO_C$ac_delim
22955 ECHO_N!$ECHO_N$ac_delim
22956 ECHO_T!$ECHO_T$ac_delim
22957 LIBS!$LIBS$ac_delim
22958 build_alias!$build_alias$ac_delim
22959 host_alias!$host_alias$ac_delim
22960 target_alias!$target_alias$ac_delim
22961 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22962 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22963 INSTALL_DATA!$INSTALL_DATA$ac_delim
22964 CYGPATH_W!$CYGPATH_W$ac_delim
22965 PACKAGE!$PACKAGE$ac_delim
22966 VERSION!$VERSION$ac_delim
22967 ACLOCAL!$ACLOCAL$ac_delim
22968 AUTOCONF!$AUTOCONF$ac_delim
22969 AUTOMAKE!$AUTOMAKE$ac_delim
22970 AUTOHEADER!$AUTOHEADER$ac_delim
22971 MAKEINFO!$MAKEINFO$ac_delim
22972 AMTAR!$AMTAR$ac_delim
22973 install_sh!$install_sh$ac_delim
22974 STRIP!$STRIP$ac_delim
22975 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22976 mkdir_p!$mkdir_p$ac_delim
22978 SET_MAKE!$SET_MAKE$ac_delim
22979 am__leading_dot!$am__leading_dot$ac_delim
22980 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22981 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22982 MAINT!$MAINT$ac_delim
22984 CFLAGS!$CFLAGS$ac_delim
22985 LDFLAGS!$LDFLAGS$ac_delim
22986 CPPFLAGS!$CPPFLAGS$ac_delim
22987 ac_ct_CC!$ac_ct_CC$ac_delim
22988 EXEEXT!$EXEEXT$ac_delim
22989 OBJEXT!$OBJEXT$ac_delim
22990 DEPDIR!$DEPDIR$ac_delim
22991 am__include!$am__include$ac_delim
22992 am__quote!$am__quote$ac_delim
22993 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22994 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22995 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22996 CCDEPMODE!$CCDEPMODE$ac_delim
22997 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22998 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23000 CXXFLAGS!$CXXFLAGS$ac_delim
23001 ac_ct_CXX!$ac_ct_CXX$ac_delim
23002 CXXDEPMODE!$CXXDEPMODE$ac_delim
23003 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23004 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23006 GREP!$GREP$ac_delim
23007 EGREP!$EGREP$ac_delim
23008 LN_S!$LN_S$ac_delim
23009 build!$build$ac_delim
23010 build_cpu!$build_cpu$ac_delim
23011 build_vendor!$build_vendor$ac_delim
23012 build_os!$build_os$ac_delim
23013 host!$host$ac_delim
23014 host_cpu!$host_cpu$ac_delim
23015 host_vendor!$host_vendor$ac_delim
23016 host_os!$host_os$ac_delim
23018 ECHO!$ECHO$ac_delim
23020 RANLIB!$RANLIB$ac_delim
23023 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23025 elif $ac_last_try; then
23026 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23027 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23028 { (exit 1); exit 1; }; }
23030 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23034 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23035 if test -n "$ac_eof"; then
23036 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23037 ac_eof=`expr $ac_eof + 1`
23040 cat >>$CONFIG_STATUS <<_ACEOF
23041 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23042 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23045 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23046 s/^/s,@/; s/!/@,|#_!!_#|/
23049 s/'"$ac_delim"'$/,g/; t
23051 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23052 ' >>$CONFIG_STATUS <conf$$subs.sed
23053 rm -f conf$$subs.sed
23054 cat >>$CONFIG_STATUS <<_ACEOF
23060 for ac_last_try in false false false false false :; do
23061 cat >conf$$subs.sed <<_ACEOF
23062 DSYMUTIL!$DSYMUTIL$ac_delim
23063 NMEDIT!$NMEDIT$ac_delim
23064 CXXCPP!$CXXCPP$ac_delim
23066 FFLAGS!$FFLAGS$ac_delim
23067 ac_ct_F77!$ac_ct_F77$ac_delim
23068 LIBTOOL!$LIBTOOL$ac_delim
23069 PKG_CONFIG!$PKG_CONFIG$ac_delim
23070 PACKAGE_CFLAGS!$PACKAGE_CFLAGS$ac_delim
23071 PACKAGE_LIBS!$PACKAGE_LIBS$ac_delim
23072 SHARING_CFLAGS!$SHARING_CFLAGS$ac_delim
23073 SHARING_LIBS!$SHARING_LIBS$ac_delim
23074 XML_CFLAGS!$XML_CFLAGS$ac_delim
23075 XML_LIBS!$XML_LIBS$ac_delim
23076 CURL_CFLAGS!$CURL_CFLAGS$ac_delim
23077 CURL_LIBS!$CURL_LIBS$ac_delim
23078 currentdir!$currentdir$ac_delim
23079 pluginsdir!$pluginsdir$ac_delim
23080 servicesdir!$servicesdir$ac_delim
23081 DEBUG_CFLAGS!$DEBUG_CFLAGS$ac_delim
23082 PACKAGE_LOCALE_DIR!$PACKAGE_LOCALE_DIR$ac_delim
23083 LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
23084 LTLIBOBJS!$LTLIBOBJS$ac_delim
23087 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
23089 elif $ac_last_try; then
23090 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23091 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23092 { (exit 1); exit 1; }; }
23094 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23098 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23099 if test -n "$ac_eof"; then
23100 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23101 ac_eof=`expr $ac_eof + 1`
23104 cat >>$CONFIG_STATUS <<_ACEOF
23105 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23109 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23110 s/^/s,@/; s/!/@,|#_!!_#|/
23113 s/'"$ac_delim"'$/,g/; t
23115 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23116 ' >>$CONFIG_STATUS <conf$$subs.sed
23117 rm -f conf$$subs.sed
23118 cat >>$CONFIG_STATUS <<_ACEOF
23125 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23126 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23127 # trailing colons and then remove the whole line if VPATH becomes empty
23128 # (actually we leave an empty line to preserve line numbers).
23129 if test "x$srcdir" = x.; then
23130 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23131 s/:*\$(srcdir):*/:/
23132 s/:*\${srcdir}:*/:/
23134 s/^\([^=]*=[ ]*\):*/\1/
23140 cat >>$CONFIG_STATUS <<\_ACEOF
23141 fi # test -n "$CONFIG_FILES"
23144 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23147 :[FHLC]) ac_mode=$ac_tag; continue;;
23149 case $ac_mode$ac_tag in
23151 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23152 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23153 { (exit 1); exit 1; }; };;
23154 :[FH]-) ac_tag=-:-;;
23155 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23172 -) ac_f="$tmp/stdin";;
23173 *) # Look for the file first in the build tree, then in the source tree
23174 # (if the path is not absolute). The absolute path cannot be DOS-style,
23175 # because $ac_f cannot contain `:'.
23179 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23181 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23182 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23183 { (exit 1); exit 1; }; };;
23185 ac_file_inputs="$ac_file_inputs $ac_f"
23188 # Let's still pretend it is `configure' which instantiates (i.e., don't
23189 # use $as_me), people would be surprised to read:
23190 # /* config.h. Generated by config.status. */
23191 configure_input="Generated from "`IFS=:
23192 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23193 if test x"$ac_file" != x-; then
23194 configure_input="$ac_file. $configure_input"
23195 { echo "$as_me:$LINENO: creating $ac_file" >&5
23196 echo "$as_me: creating $ac_file" >&6;}
23200 *:-:* | *:-) cat >"$tmp/stdin";;
23205 ac_dir=`$as_dirname -- "$ac_file" ||
23206 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23207 X"$ac_file" : 'X\(//\)[^/]' \| \
23208 X"$ac_file" : 'X\(//\)$' \| \
23209 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23215 /^X\(\/\/\)[^/].*/{
23230 -*) as_dir=./$as_dir;;
23232 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23236 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23237 *) as_qdir=$as_dir;;
23239 as_dirs="'$as_qdir' $as_dirs"
23240 as_dir=`$as_dirname -- "$as_dir" ||
23241 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23242 X"$as_dir" : 'X\(//\)[^/]' \| \
23243 X"$as_dir" : 'X\(//\)$' \| \
23244 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23250 /^X\(\/\/\)[^/].*/{
23263 test -d "$as_dir" && break
23265 test -z "$as_dirs" || eval "mkdir $as_dirs"
23266 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23267 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23268 { (exit 1); exit 1; }; }; }
23272 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23274 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23275 # A ".." for each directory in $ac_dir_suffix.
23276 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23277 case $ac_top_builddir_sub in
23278 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23279 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23282 ac_abs_top_builddir=$ac_pwd
23283 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23284 # for backward compatibility:
23285 ac_top_builddir=$ac_top_build_prefix
23288 .) # We are building in place.
23290 ac_top_srcdir=$ac_top_builddir_sub
23291 ac_abs_top_srcdir=$ac_pwd ;;
23292 [\\/]* | ?:[\\/]* ) # Absolute name.
23293 ac_srcdir=$srcdir$ac_dir_suffix;
23294 ac_top_srcdir=$srcdir
23295 ac_abs_top_srcdir=$srcdir ;;
23296 *) # Relative name.
23297 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23298 ac_top_srcdir=$ac_top_build_prefix$srcdir
23299 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23301 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23311 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23312 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23316 cat >>$CONFIG_STATUS <<\_ACEOF
23317 # If the template does not know about datarootdir, expand it.
23318 # FIXME: This hack should be removed a few years after 2.60.
23319 ac_datarootdir_hack=; ac_datarootdir_seen=
23321 case `sed -n '/datarootdir/ {
23330 ' $ac_file_inputs` in
23331 *datarootdir*) ac_datarootdir_seen=yes;;
23332 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23333 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23334 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23336 cat >>$CONFIG_STATUS <<_ACEOF
23337 ac_datarootdir_hack='
23338 s&@datadir@&$datadir&g
23339 s&@docdir@&$docdir&g
23340 s&@infodir@&$infodir&g
23341 s&@localedir@&$localedir&g
23342 s&@mandir@&$mandir&g
23343 s&\\\${datarootdir}&$datarootdir&g' ;;
23347 # Neutralize VPATH when `$srcdir' = `.'.
23348 # Shell code in configure.ac might set extrasub.
23349 # FIXME: do we really want to maintain this feature?
23350 cat >>$CONFIG_STATUS <<_ACEOF
23354 cat >>$CONFIG_STATUS <<\_ACEOF
23356 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23357 s&@configure_input@&$configure_input&;t t
23358 s&@top_builddir@&$ac_top_builddir_sub&;t t
23359 s&@srcdir@&$ac_srcdir&;t t
23360 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23361 s&@top_srcdir@&$ac_top_srcdir&;t t
23362 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23363 s&@builddir@&$ac_builddir&;t t
23364 s&@abs_builddir@&$ac_abs_builddir&;t t
23365 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23366 s&@INSTALL@&$ac_INSTALL&;t t
23367 $ac_datarootdir_hack
23368 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23370 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23371 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23372 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23373 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23374 which seems to be undefined. Please make sure it is defined." >&5
23375 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23376 which seems to be undefined. Please make sure it is defined." >&2;}
23380 -) cat "$tmp/out"; rm -f "$tmp/out";;
23381 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23390 # Transform confdefs.h into a sed script `conftest.defines', that
23391 # substitutes the proper values into config.h.in to produce config.h.
23392 rm -f conftest.defines conftest.tail
23393 # First, append a space to every undef/define line, to ease matching.
23394 echo 's/$/ /' >conftest.defines
23395 # Then, protect against being on the right side of a sed subst, or in
23396 # an unquoted here document, in config.status. If some macros were
23397 # called several times there might be several #defines for the same
23398 # symbol, which is useless. But do not sort them, since the last
23399 # AC_DEFINE must be honored.
23400 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23401 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23402 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23403 # PARAMS is the parameter list in the macro definition--in most cases, it's
23404 # just an empty string.
23405 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23406 ac_dB='\\)[ (].*,\\1define\\2'
23414 s/^[ ]*#[ ]*define[ ][ ]*//
23419 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23420 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23421 ' >>conftest.defines
23423 # Remove the space that was appended to ease matching.
23424 # Then replace #undef with comments. This is necessary, for
23425 # example, in the case of _POSIX_SOURCE, which is predefined and required
23426 # on some systems where configure will not decide to define it.
23427 # (The regexp can be short, since the line contains either #define or #undef.)
23429 s,^[ #]*u.*,/* & */,' >>conftest.defines
23431 # Break up conftest.defines:
23432 ac_max_sed_lines=50
23434 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23435 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23436 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23438 ac_in='$ac_file_inputs'
23439 ac_out='"$tmp/out1"'
23440 ac_nxt='"$tmp/out2"'
23444 # Write a here document:
23445 cat >>$CONFIG_STATUS <<_ACEOF
23446 # First, check the format of the line:
23447 cat >"\$tmp/defines.sed" <<\\CEOF
23448 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23449 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23453 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23455 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23456 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23457 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23458 grep . conftest.tail >/dev/null || break
23459 rm -f conftest.defines
23460 mv conftest.tail conftest.defines
23462 rm -f conftest.defines conftest.tail
23464 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23465 cat >>$CONFIG_STATUS <<\_ACEOF
23466 if test x"$ac_file" != x-; then
23467 echo "/* $configure_input */" >"$tmp/config.h"
23468 cat "$ac_result" >>"$tmp/config.h"
23469 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23470 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23471 echo "$as_me: $ac_file is unchanged" >&6;}
23474 mv "$tmp/config.h" $ac_file
23477 echo "/* $configure_input */"
23481 # Compute $ac_file's index in $config_headers.
23483 for _am_header in $config_headers :; do
23484 case $_am_header in
23485 $ac_file | $ac_file:* )
23488 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
23491 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
23492 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23493 X$ac_file : 'X\(//\)[^/]' \| \
23494 X$ac_file : 'X\(//\)$' \| \
23495 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
23497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23501 /^X\(\/\/\)[^/].*/{
23513 s/.*/./; q'`/stamp-h$_am_stamp_count
23516 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23517 echo "$as_me: executing $ac_file commands" >&6;}
23522 case $ac_file$ac_mode in
23523 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23524 # Strip MF so we end up with the name of the file.
23525 mf=`echo "$mf" | sed -e 's/:.*$//'`
23526 # Check whether this is an Automake generated Makefile or not.
23527 # We used to match only the files named `Makefile.in', but
23528 # some people rename them; so instead we look at the file content.
23529 # Grep'ing the first line is not enough: some people post-process
23530 # each Makefile.in and add a new line on top of each file to say so.
23531 # So let's grep whole file.
23532 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
23533 dirpart=`$as_dirname -- "$mf" ||
23534 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23535 X"$mf" : 'X\(//\)[^/]' \| \
23536 X"$mf" : 'X\(//\)$' \| \
23537 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23543 /^X\(\/\/\)[^/].*/{
23559 grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue
23560 # Extract the definition of DEP_FILES from the Makefile without
23562 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23563 test -z "$DEPDIR" && continue
23564 # When using ansi2knr, U may be empty or an underscore; expand it
23565 U=`sed -n 's/^U = //p' < "$mf"`
23566 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
23567 # We invoke sed twice because it is the simplest approach to
23568 # changing $(DEPDIR) to its actual value in the expansion.
23569 for file in `sed -n '
23570 /^DEP_FILES = .*\\\\$/ {
23579 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
23580 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23581 # Make sure the directory exists.
23582 test -f "$dirpart/$file" && continue
23583 fdir=`$as_dirname -- "$file" ||
23584 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23585 X"$file" : 'X\(//\)[^/]' \| \
23586 X"$file" : 'X\(//\)$' \| \
23587 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23593 /^X\(\/\/\)[^/].*/{
23606 { as_dir=$dirpart/$fdir
23608 -*) as_dir=./$as_dir;;
23610 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23614 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23615 *) as_qdir=$as_dir;;
23617 as_dirs="'$as_qdir' $as_dirs"
23618 as_dir=`$as_dirname -- "$as_dir" ||
23619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23620 X"$as_dir" : 'X\(//\)[^/]' \| \
23621 X"$as_dir" : 'X\(//\)$' \| \
23622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23628 /^X\(\/\/\)[^/].*/{
23641 test -d "$as_dir" && break
23643 test -z "$as_dirs" || eval "mkdir $as_dirs"
23644 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23646 { (exit 1); exit 1; }; }; }
23647 # echo "creating $dirpart/$file"
23648 echo '# dummy' > "$dirpart/$file"
23657 { (exit 0); exit 0; }
23659 chmod +x $CONFIG_STATUS
23660 ac_clean_files=$ac_clean_files_save
23663 # configure is writing to config.log, and then calls config.status.
23664 # config.status does its own redirection, appending to config.log.
23665 # Unfortunately, on DOS this fails, as config.log is still kept open
23666 # by configure, so config.status won't be able to write to it; its
23667 # output is simply discarded. So we exec the FD to /dev/null,
23668 # effectively closing config.log, so it can be properly (re)opened and
23669 # appended to by config.status. When coming back to configure, we
23670 # need to make the FD available again.
23671 if test "$no_create" != yes; then
23673 ac_config_status_args=
23674 test "$silent" = yes &&
23675 ac_config_status_args="$ac_config_status_args --quiet"
23677 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23679 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23680 # would make configure fail if this is the last instruction.
23681 $ac_cs_success || { (exit 1); exit 1; }
23688 echo " $PACKAGE $VERSION"
23689 echo " ==================="
23691 echo " Debug messages: ${enable_debug}"
23692 echo " Plug-ins directory: ${pluginsdir}"
23693 echo " Services directory: ${servicesdir}"