Changeset 660
- Timestamp:
- 12/15/05 01:17:38 (3 years ago)
- Files:
-
- trunk/libgadu/configure (modified) (208 diffs)
- trunk/src/message.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libgadu/configure
r598 r660 286 286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 287 287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 288 if (echo_test_string= "`eval $cmd`") 2>/dev/null &&289 echo_test_string= "`eval $cmd`"&&288 if (echo_test_string=`eval $cmd`) 2>/dev/null && 289 echo_test_string=`eval $cmd` && 290 290 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 291 291 then … … 1727 1727 fi 1728 1728 1729 for ac_prog in awk mawk gawk nawk1729 for ac_prog in gawk mawk nawk awk 1730 1730 do 1731 1731 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 3320 3320 lt_cv_path_LD="$ac_dir/$ac_prog" 3321 3321 # Check to see if the program is GNU ld. I'd rather use --version, 3322 # but apparently some GNU ld'sonly accept -v.3322 # but apparently some variants of GNU ld only accept -v. 3323 3323 # Break only if it was the GNU/non-GNU ld that we prefer. 3324 3324 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in … … 3354 3354 echo $ECHO_N "(cached) $ECHO_C" >&6 3355 3355 else 3356 # I'd rather use --version here, but apparently some GNU ld 's only accept -v.3356 # I'd rather use --version here, but apparently some GNU lds only accept -v. 3357 3357 case `$LD -v 2>&1 </dev/null` in 3358 3358 *GNU* | *'with BFD'*) … … 3524 3524 hpux10.20* | hpux11*) 3525 3525 lt_cv_file_magic_cmd=/usr/bin/file 3526 case "$host_cpu"in3526 case $host_cpu in 3527 3527 ia64*) 3528 3528 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' … … 3713 3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3714 3714 (exit $ac_status); }; then 3715 case "`/usr/bin/file conftest.o`"in3715 case `/usr/bin/file conftest.o` in 3716 3716 *32-bit*) 3717 3717 case $host in … … 3745 3745 ;; 3746 3746 esac 3747 ;; 3748 esac 3749 fi 3750 rm -rf conftest* 3751 ;; 3752 3753 *-*-linux*) 3754 # Test if the compiler is 64bit 3755 echo 'int i;' > conftest.$ac_ext 3756 lt_cv_cc_64bit_output=no 3757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3758 (eval $ac_compile) 2>&5 3759 ac_status=$? 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3761 (exit $ac_status); }; then 3762 case `/usr/bin/file conftest.$ac_objext` in 3763 *"ELF 64"*) 3764 lt_cv_cc_64bit_output=yes 3747 3765 ;; 3748 3766 esac … … 5141 5159 : 5142 5160 else 5143 { echo "$as_me:$LINENO: WARNING: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 5144 echo "$as_me: WARNING: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} 5161 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5162 See \`config.log' for more details." >&5 5163 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check 5164 See \`config.log' for more details." >&2;} 5165 { (exit 1); exit 1; }; } 5145 5166 fi 5146 5167 … … 5246 5267 5247 5268 # Provide some information about the compiler. 5248 echo "$as_me:52 48:" \5269 echo "$as_me:5269:" \ 5249 5270 "checking for Fortran 77 compiler version" >&5 5250 5271 ac_compiler=`set X $ac_compile; echo $2` … … 5443 5464 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5444 5465 else 5445 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD5466 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5446 5467 fi 5447 5468 # And add a safety zone 5448 5469 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5470 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5449 5471 ;; 5450 5472 osf*) … … 5737 5759 # Sed substitution that helps us do robust quoting. It backslashifies 5738 5760 # metacharacters that are still active within double-quoted strings. 5739 Xsed='sed -e s/^X//'5761 Xsed='sed -e 1s/^X//' 5740 5762 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' 5741 5763 … … 5757 5779 can_build_shared=yes 5758 5780 5759 # All known linkers require a `.a' archive for static linking (except M $VC,5781 # All known linkers require a `.a' archive for static linking (except MSVC, 5760 5782 # which needs '.lib'). 5761 5783 libext=a … … 6042 6064 fi 6043 6065 6044 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 6066 for cc_temp in $compiler""; do 6067 case $cc_temp in 6068 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6069 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6070 \-*) ;; 6071 *) break;; 6072 esac 6073 done 6074 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 6075 6045 6076 6046 6077 # Only perform the check for file, if the check method requires it … … 6069 6100 case $deplibs_check_method in 6070 6101 "file_magic "*) 6071 file_magic_regex= "`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"6102 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 6072 6103 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6073 6104 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | … … 6131 6162 case $deplibs_check_method in 6132 6163 "file_magic "*) 6133 file_magic_regex= "`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"6164 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 6134 6165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 6135 6166 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | … … 6199 6230 test -z "$pic_mode" && pic_mode=default 6200 6231 6232 # Check if we have a version mismatch between libtool.m4 and ltmain.sh. 6233 # 6234 # Note: This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined. 6235 # We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually 6236 # calls AC_LIBTOOL_CONFIG and creates libtool. 6237 # 6238 echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5 6239 echo $ECHO_N "checking for correct ltmain.sh version... $ECHO_C" >&6 6240 if test -z "$ltmain"; then 6241 echo "$as_me:$LINENO: result: no" >&5 6242 echo "${ECHO_T}no" >&6 6243 echo 6244 echo "*** [Gentoo] sanity check failed! ***" 6245 echo "*** \$ltmain is not defined, please check the patch for consistency! ***" 6246 echo 6247 exit 1 6248 fi 6249 gentoo_lt_version="1.5.20" 6250 gentoo_ltmain_version=`grep '^[[:space:]]*VERSION=' $ltmain | sed -e 's|^[[:space:]]*VERSION=||'` 6251 if test "$gentoo_lt_version" != "$gentoo_ltmain_version"; then 6252 echo "$as_me:$LINENO: result: no" >&5 6253 echo "${ECHO_T}no" >&6 6254 echo 6255 echo "*** [Gentoo] sanity check failed! ***" 6256 echo "*** libtool.m4 and ltmain.sh have a version mismatch! ***" 6257 echo "*** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***" 6258 echo 6259 echo "Please run:" 6260 echo 6261 echo " libtoolize --copy --force" 6262 echo 6263 echo "if appropriate, please contact the maintainer of this" 6264 echo "package (or your distribution) for help." 6265 echo 6266 exit 1 6267 else 6268 echo "$as_me:$LINENO: result: yes" >&5 6269 echo "${ECHO_T}yes" >&6 6270 fi 6271 6272 6201 6273 # Use C for the default configuration in the libtool script 6202 6274 tagname= … … 6228 6300 # Allow CC to be a program name with arguments. 6229 6301 compiler=$CC 6302 6303 6304 # save warnings/boilerplate of simple test code 6305 ac_outfile=conftest.$ac_objext 6306 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 6307 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 6308 _lt_compiler_boilerplate=`cat conftest.err` 6309 $rm conftest* 6310 6311 ac_outfile=conftest.$ac_objext 6312 printf "$lt_simple_link_test_code" >conftest.$ac_ext 6313 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 6314 _lt_linker_boilerplate=`cat conftest.err` 6315 $rm conftest* 6230 6316 6231 6317 … … 6266 6352 printf "$lt_simple_link_test_code" > conftest.$ac_ext 6267 6353 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 6268 # The compiler can only warn and ignore the option if not recognized6354 # The linker can only warn and ignore the option if not recognized 6269 6355 # So say no if there are warnings 6270 6356 if test -s conftest.err; then 6271 6357 # Append any errors to the config.log. 6272 6358 cat conftest.err 1>&5 6359 $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp 6360 $SED '/^$/d' conftest.err >conftest.er2 6361 if diff conftest.exp conftest.er2 >/dev/null; then 6362 lt_prog_compiler_static_works=yes 6363 fi 6273 6364 else 6274 6365 lt_prog_compiler_static_works=yes … … 6312 6403 # The option is referenced via a variable to avoid confusing sed. 6313 6404 lt_compile=`echo "$ac_compile" | $SED \ 6314 -e 's:.*FLAGS} ?:&$lt_compiler_flag :; t' \6405 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 6315 6406 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6316 6407 -e 's:$: $lt_compiler_flag:'` 6317 (eval echo "\"\$as_me:6 317: $lt_compile\"" >&5)6408 (eval echo "\"\$as_me:6408: $lt_compile\"" >&5) 6318 6409 (eval "$lt_compile" 2>conftest.err) 6319 6410 ac_status=$? 6320 6411 cat conftest.err >&5 6321 echo "$as_me:6 321: \$? = $ac_status" >&56412 echo "$as_me:6412: \$? = $ac_status" >&5 6322 6413 if (exit $ac_status) && test -s "$ac_outfile"; then 6323 6414 # The compiler can only warn and ignore the option if not recognized 6324 # So say no if there are warnings 6325 if test ! -s conftest.err; then 6415 # So say no if there are warnings other than the usual output. 6416 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 6417 $SED '/^$/d' conftest.err >conftest.er2 6418 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 6326 6419 lt_cv_prog_compiler_rtti_exceptions=yes 6327 6420 fi … … 6400 6493 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 6401 6494 # not for PA HP-UX. 6402 case "$host_cpu"in6495 case $host_cpu in 6403 6496 hppa*64*|ia64*) 6404 6497 # +Z the default … … 6429 6522 # PIC is the default on this platform 6430 6523 # Common symbols not allowed in MH_DYLIB files 6431 case "$cc_basename"in6524 case $cc_basename in 6432 6525 xlc*) 6433 6526 lt_prog_compiler_pic='-qnocommon' … … 6447 6540 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 6448 6541 # not for PA HP-UX. 6449 case "$host_cpu"in6542 case $host_cpu in 6450 6543 hppa*64*|ia64*) 6451 6544 # +Z the default … … 6477 6570 lt_prog_compiler_static='-static' 6478 6571 ;; 6479 pgcc | pgf77 | pgf90)6572 pgcc* | pgf77* | pgf90* | pgf95*) 6480 6573 # Portland Group compilers (*not* the Pentium gcc compiler, 6481 6574 # which looks to be a dead project) 6482 6575 lt_prog_compiler_wl='-Wl,' 6483 6576 lt_prog_compiler_pic='-fpic' 6484 lt_prog_compiler_static='- static'6577 lt_prog_compiler_static='-Bstatic' 6485 6578 ;; 6486 6579 ccc*) … … 6504 6597 6505 6598 solaris*) 6506 lt_prog_compiler_wl='-Wl,'6507 6599 lt_prog_compiler_pic='-KPIC' 6508 6600 lt_prog_compiler_static='-Bstatic' 6601 case $cc_basename in 6602 f77* | f90* | f95*) 6603 lt_prog_compiler_wl='-Qoption ld ';; 6604 *) 6605 lt_prog_compiler_wl='-Wl,';; 6606 esac 6509 6607 ;; 6510 6608 … … 6567 6665 # The option is referenced via a variable to avoid confusing sed. 6568 6666 lt_compile=`echo "$ac_compile" | $SED \ 6569 -e 's:.*FLAGS} ?:&$lt_compiler_flag :; t' \6667 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 6570 6668 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6571 6669 -e 's:$: $lt_compiler_flag:'` 6572 (eval echo "\"\$as_me:6 572: $lt_compile\"" >&5)6670 (eval echo "\"\$as_me:6670: $lt_compile\"" >&5) 6573 6671 (eval "$lt_compile" 2>conftest.err) 6574 6672 ac_status=$? 6575 6673 cat conftest.err >&5 6576 echo "$as_me:6 576: \$? = $ac_status" >&56674 echo "$as_me:6674: \$? = $ac_status" >&5 6577 6675 if (exit $ac_status) && test -s "$ac_outfile"; then 6578 6676 # The compiler can only warn and ignore the option if not recognized 6579 # So say no if there are warnings 6580 if test ! -s conftest.err; then 6677 # So say no if there are warnings other than the usual output. 6678 $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp 6679 $SED '/^$/d' conftest.err >conftest.er2 6680 if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then 6581 6681 lt_prog_compiler_pic_works=yes 6582 6682 fi … … 6599 6699 6600 6700 fi 6601 case "$host_os"in6701 case $host_os in 6602 6702 # For platforms which do not support PIC, -DPIC is meaningless: 6603 6703 *djgpp*) … … 6627 6727 # with a dollar sign (not a hyphen), so the echo should work correctly. 6628 6728 lt_compile=`echo "$ac_compile" | $SED \ 6629 -e 's:.*FLAGS} ?:&$lt_compiler_flag :; t' \6729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 6630 6730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 6631 6731 -e 's:$: $lt_compiler_flag:'` 6632 (eval echo "\"\$as_me:6 632: $lt_compile\"" >&5)6732 (eval echo "\"\$as_me:6732: $lt_compile\"" >&5) 6633 6733 (eval "$lt_compile" 2>out/conftest.err) 6634 6734 ac_status=$? 6635 6735 cat out/conftest.err >&5 6636 echo "$as_me:6 636: \$? = $ac_status" >&56736 echo "$as_me:6736: \$? = $ac_status" >&5 6637 6737 if (exit $ac_status) && test -s out/conftest2.$ac_objext 6638 6738 then 6639 6739 # The compiler can only warn and ignore the option if not recognized 6640 6740 # So say no if there are warnings 6641 if test ! -s out/conftest.err; then 6741 $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp 6742 $SED '/^$/d' out/conftest.err >out/conftest.er2 6743 if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then 6642 6744 lt_cv_prog_compiler_c_o=yes 6643 6745 fi 6644 6746 fi 6645 chmod u+w . 6747 chmod u+w . 2>&5 6646 6748 $rm conftest* 6647 6749 # SGI C++ compiler will create directory out/ii_files/ for … … 6719 6821 # preloaded symbol tables. 6720 6822 extract_expsyms_cmds= 6823 # Just being paranoid about ensuring that cc_basename is set. 6824 for cc_temp in $compiler""; do 6825 case $cc_temp in 6826 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 6827 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 6828 \-*) ;; 6829 *) break;; 6830 esac 6831 done 6832 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 6721 6833 6722 6834 case $host_os in … … 6738 6850 # If archive_cmds runs LD, not CC, wlarc should be empty 6739 6851 wlarc='${wl}' 6852 6853 # Set some defaults for GNU ld with shared library support. These 6854 # are reset later if shared libraries are not supported. Putting them 6855 # here allows them to be overridden if necessary. 6856 runpath_var=LD_RUN_PATH 6857 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' 6858 export_dynamic_flag_spec='${wl}--export-dynamic' 6859 # ancient GNU ld didn't support --whole-archive et. al. 6860 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 6861 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 6862 else 6863 whole_archive_flag_spec= 6864 fi 6865 supports_anon_versioning=no 6866 case `$LD -v 2>/dev/null` in 6867 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 6868 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 6869 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 6870 *\ 2.11.*) ;; # other 2.11 versions 6871 *) supports_anon_versioning=yes ;; 6872 esac 6740 6873 6741 6874 # See if GNU ld supports shared libraries. … … 6807 6940 ;; 6808 6941 6942 linux*) 6943 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 6944 tmp_addflag= 6945 case $cc_basename,$host_cpu in 6946 pgcc*) # Portland Group C compiler 6947 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' 6948 tmp_addflag=' $pic_flag' 6949 ;; 6950 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 6951 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' 6952 tmp_addflag=' $pic_flag -Mnomain' ;; 6953 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 6954 tmp_addflag=' -i_dynamic' ;; 6955 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 6956 tmp_addflag=' -i_dynamic -nofor_main' ;; 6957 ifc* | ifort*) # Intel Fortran compiler 6958 tmp_addflag=' -nofor_main' ;; 6959 esac 6960 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 6961 6962 if test $supports_anon_versioning = yes; then 6963 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 6964 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 6965 $echo "local: *; };" >> $output_objdir/$libname.ver~ 6966 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 6967 fi 6968 else 6969 ld_shlibs=no 6970 fi 6971 ;; 6972 6809 6973 netbsd*) 6810 6974 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then … … 6845 7009 ;; 6846 7010 6847 linux*)6848 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then6849 tmp_addflag=6850 case $CC,$host_cpu in6851 pgf77* | pgf90* ) # Portland Group f77 and f90 compilers6852 tmp_addflag=' -fpic' ;;6853 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia646854 tmp_addflag=' -i_dynamic' ;;6855 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia646856 tmp_addflag=' -i_dynamic -nofor_main' ;;6857 ifc* | ifort*) # Intel Fortran compiler6858 tmp_addflag=' -nofor_main' ;;6859 esac6860 archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'6861 supports_anon_versioning=no6862 case `$LD -v 2>/dev/null` in6863 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.116864 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...6865 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...6866 *\ 2.11.*) ;; # other 2.11 versions6867 *) supports_anon_versioning=yes ;;6868 esac6869 if test $supports_anon_versioning = yes; then6870 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~6871 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~6872 $echo "local: *; };" >> $output_objdir/$libname.ver~6873 $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'6874 else6875 archive_expsym_cmds=$archive_cmds6876 fi6877 else6878 ld_shlibs=no6879 fi6880 ;;6881 6882 7011 *) 6883 7012 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then … … 6890 7019 esac 6891 7020 6892 if test "$ld_shlibs" = yes; then 6893 runpath_var=LD_RUN_PATH 6894 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' 6895 export_dynamic_flag_spec='${wl}--export-dynamic' 6896 # ancient GNU ld didn't support --whole-archive et. al. 6897 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then 6898 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 6899 else 6900 whole_archive_flag_spec= 6901 fi 7021 if test "$ld_shlibs" = no; then 7022 runpath_var= 7023 hardcode_libdir_flag_spec= 7024 export_dynamic_flag_spec= 7025 whole_archive_flag_spec= 6902 7026 fi 6903 7027 else … … 7133 7257 whole_archive_flag_spec=' ' 7134 7258 archive_cmds_need_lc=yes 7135 # This is similar to how AIX traditionally builds it 's shared libraries.7259 # This is similar to how AIX traditionally builds its shared libraries. 7136 7260 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 7137 7261 fi … … 7173 7297 7174 7298 darwin* | rhapsody*) 7175 case "$host_os"in7299 case $host_os in 7176 7300 rhapsody* | darwin1.[012]) 7177 7301 allow_undefined_flag='${wl}-undefined ${wl}suppress' … … 7202 7326 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 7203 7327 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 7204 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld 's7328 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 7205 7329 archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7206 7330 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}' 7207 7331 else 7208 case "$cc_basename"in7332 case $cc_basename in 7209 7333 xlc*) 7210 7334 output_verbose_link_cmd='echo' 7211 7335 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 7212 7336 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 7213 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld 's7337 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 7214 7338 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 7215 7339 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}' … … 7277 7401 hpux10* | hpux11*) 7278 7402 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 7279 case "$host_cpu"in7403 case $host_cpu in 7280 7404 hppa*64*|ia64*) 7281 7405 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' … … 7286 7410 esac 7287 7411 else 7288 case "$host_cpu"in7412 case $host_cpu in 7289 7413 hppa*64*|ia64*) 7290 7414 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' … … 7296 7420 fi 7297 7421 if test "$with_gnu_ld" = no; then 7298 case "$host_cpu"in7422 case $host_cpu in 7299 7423 hppa*64*) 7300 7424 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' … … 7409 7533 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' 7410 7534 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ 7411 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${o bjdir}/so_locations -o $lib~$rm $lib.exp'7535 $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' 7412 7536 7413 7537 # Both c and cxx compiler support -rpath directly … … 7428 7552 no_undefined_flag=' -z text' 7429 7553 if test "$GCC" = yes; then 7554 wlarc='${wl}' 7430 7555 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 7431 7556 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ 7432 7557 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' 7433 7558 else 7559 wlarc='' 7434 7560 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 7435 7561 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ … … 7440 7566 case $host_os in 7441 7567 solaris2.[0-5] | solaris2.[0-5].*) ;; 7442 *) # Supported since Solaris 2.6 (maybe 2.5.1?) 7443 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; 7568 *) 7569 # The compiler driver will combine linker options so we 7570 # cannot just pass the convience library names through 7571 # without $wl, iff we do not link with $LD. 7572 # Luckily, gcc supports the same syntax we need for Sun Studio. 7573 # Supported since Solaris 2.6 (maybe 2.5.1?) 7574 case $wlarc in 7575 '') 7576 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; 7577 *) 7578 whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; 7579 esac ;; 7444 7580 esac 7445 7581 link_all_deplibs=yes … … 7639 7775 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 7640 7776 fi 7641 # sanitize7642 new_sys_lib_search_path_spec=7643 for d in $sys_lib_search_path_spec ; do7644 # check if exists7645 if test -d $d -a -x $d ; then7646 # normalize7647 new_d=$(cd $d ; pwd)7648 # uniq7649 if ! echo "$new_sys_lib_search_path_spec" | grep -q -F -e " $new_d " ; then7650 new_sys_lib_search_path_spec="$new_sys_lib_search_path_spec $new_d "7651 fi7652 fi7653 done7654 # compress spaces7655 sys_lib_search_path_spec=`echo "$new_sys_lib_search_path_spec" | $SED -e 's/^ *//g;s/ \+/ /g;s/ $//g'`7656 7777 else 7657 7778 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" … … 7758 7879 dldir=$destdir/`dirname \$dlpath`~ 7759 7880 test -d \$dldir || mkdir -p \$dldir~ 7760 $install_prog $dir/$dlname \$dldir/$dlname' 7881 $install_prog $dir/$dlname \$dldir/$dlname~ 7882 chmod a+x \$dldir/$dlname' 7761 7883 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 7762 7884 dlpath=$dir/\$dldll~ … … 7793 7915 ;; 7794 7916 7917 linux*) 7918 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then 7919 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7920 supports_anon_versioning=no 7921 case `$LD -v 2>/dev/null` in 7922 *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 7923 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7924 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7925 *\ 2.11.*) ;; # other 2.11 versions 7926 *) supports_anon_versioning=yes ;; 7927 esac 7928 if test $supports_anon_versioning = yes; then 7929 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ 7930 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 7931 $echo "local: *; };" >> $output_objdir/$libname.ver~ 7932 $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 7933 else 7934 $archive_expsym_cmds="$archive_cmds" 7935 fi 7936 else 7937 ld_shlibs=no 7938 fi 7939 ;; 7940 7795 7941 *) 7796 7942 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' … … 7811 7957 shlibpath_overrides_runpath=yes 7812 7958 shlibpath_var=DYLD_LIBRARY_PATH 7813 shrext_cmds=' $(test .$module = .yes && echo .so || echo .dylib)'7959 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 7814 7960 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 7815 7961 if test "$GCC" = yes; then … … 7849 7995 # DragonFly does not have aout. When/if they implement a new 7850 7996 # versioning mechanism, adjust this. 7851 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 7852 version_type=freebsd-$objformat 7997 if test -x /usr/bin/objformat; then 7998 objformat=`/usr/bin/objformat` 7999 else 8000 case $host_os in 8001 freebsd[123]*) objformat=aout ;; 8002 *) objformat=elf ;; 8003 esac 8004 fi 8005 # Handle Gentoo/FreeBSD as it was Linux 8006 case $host_vendor in 8007 gentoo) 8008 version_type=linux ;; 8009 *) 8010 version_type=freebsd-$objformat ;; 8011 esac 8012 7853 8013 case $version_type in 7854 8014 freebsd-elf*) … … 7860 8020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 7861 8021 need_version=yes 8022 ;; 8023 linux) 8024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 8025 soname_spec='${libname}${release}${shared_ext}$major' 8026 need_lib_prefix=no 8027 need_version=no 7862 8028 ;; 7863 8029 esac … … 7894 8060 need_lib_prefix=no 7895 8061 need_version=no 7896 case "$host_cpu"in8062 case $host_cpu in 7897 8063 ia64*) 7898 8064 shrext_cmds='.so' … … 7993 8159 # Append ld.so.conf contents to the search path 7994 8160 if test -f /etc/ld.so.conf; then 7995 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, \t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`8161 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 7996 8162 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 7997 8163 fi 8164 8165 case $host_cpu:$lt_cv_cc_64bit_output in 8166 powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes) 8167 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/X11R6/lib64" 8168 sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64 /usr/X11R6/lib64" 8169 ;; 8170 esac 7998 8171 7999 8172 # We used to test for /lib/ld.so.1 and disable shared libraries on … … 8008 8181 libsuff= 8009 8182 case "$host_cpu" in 8010 x86_64* |s390x*|powerpc64*)8011 echo '#line 8 011"configure"' > conftest.$ac_ext8183 x86_64*) 8184 echo '#line 8184 "configure"' > conftest.$ac_ext 8012 8185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8013 8186 (eval $ac_compile) 2>&5 … … 8080 8253 version_type=sunos 8081 8254 need_lib_prefix=no 8082 need_version=no 8255 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 8256 case $host_os in 8257 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 8258 *) need_version=no ;; 8259 esac 8083 8260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 8084 8261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' … … 8869 9046 lt_status=$lt_dlunknown 8870 9047 cat > conftest.$ac_ext <<EOF 8871 #line 8871"configure"9048 #line 9048 "configure" 8872 9049 #include "confdefs.h" 8873 9050 … … 8935 9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8936 9113 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 8937 (./conftest; exit; ) 2>/dev/null9114 (./conftest; exit; ) >&5 2>/dev/null 8938 9115 lt_status=$? 8939 9116 case x$lt_status in … … 8967 9144 lt_status=$lt_dlunknown 8968 9145 cat > conftest.$ac_ext <<EOF 8969 #line 8969"configure"9146 #line 9146 "configure" 8970 9147 #include "confdefs.h" 8971 9148 … … 9033 9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9034 9211 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 9035 (./conftest; exit; ) 2>/dev/null9212 (./conftest; exit; ) >&5 2>/dev/null 9036 9213 lt_status=$? 9037 9214 case x$lt_status in … … 9083 9260 # On AIX, shared libraries and static libraries use the same namespace, and 9084 9261 # are all built from PIC. 9085 case "$host_os"in9262 case $host_os in 9086 9263 aix3*) 9087 9264 test "$enable_shared" = yes && enable_static=no … … 9225 9402 # You should have received a copy of the GNU General Public License 9226 9403 # along with this program; if not, write to the Free Software 9227 # Foundation, Inc., 5 9 Temple Place - Suite 330, Boston, MA 02111-1307, USA.9404 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 9228 9405 # 9229 9406 # As a special exception to the GNU General Public License, if you … … 9236 9413 9237 9414 # Sed that helps us avoid accidentally triggering echo(1) options like -n. 9238 Xsed="$SED -e s/^X//"9415 Xsed="$SED -e 1s/^X//" 9239 9416 9240 9417 # The HP-UX ksh and POSIX shell print the target directory to stdout … … 9352 9529 compiler_c_o=$lt_lt_cv_prog_compiler_c_o 9353 9530 9354 # Must we lock files when doing compilation ?9531 # Must we lock files when doing compilation? 9355 9532 need_locks=$lt_need_locks 9356 9533 … … 9686 9863 9687 9864 # Source file extension for C++ test sources. 9688 ac_ext=c c9865 ac_ext=cpp 9689 9866 9690 9867 # Object file extension for compiled C++ test sources. … … 9705 9882 # Allow CC to be a program name with arguments. 9706 9883 compiler=$CC 9884 9885 9886 # save warnings/boilerplate of simple test code 9887 ac_outfile=conftest.$ac_objext 9888 printf "$lt_simple_compile_test_code" >conftest.$ac_ext 9889 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 9890 _lt_compiler_boilerplate=`cat conftest.err` 9891 $rm conftest* 9892 9893 ac_outfile=conftest.$ac_objext 9894 printf "$lt_simple_link_test_code" >conftest.$ac_ext 9895 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err 9896 _lt_linker_boilerplate=`cat conftest.err` 9897 $rm conftest* 9707 9898 9708 9899 … … 9728 9919 compiler=$CC 9729 9920 compiler_CXX=$CC 9730 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 9921 for cc_temp in $compiler""; do 9922 case $cc_temp in 9923 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 9924 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 9925 \-*) ;; 9926 *) break;; 9927 esac 9928 done 9929 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 9930 9731 9931 9732 9932 # We don't want -fno-exception wen compiling C++ code, so set the … … 9799 9999 lt_cv_path_LD="$ac_dir/$ac_prog" 9800 10000 # Check to see if the program is GNU ld. I'd rather use --version, 9801 # but apparently some GNU ld'sonly accept -v.10001 # but apparently some variants of GNU ld only accept -v. 9802 10002 # Break only if it was the GNU/non-GNU ld that we prefer. 9803 10003 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in … … 9833 10033 echo $ECHO_N "(cached) $ECHO_C" >&6 9834 10034 else 9835 # I'd rather use --version here, but apparently some GNU ld 's only accept -v.10035 # I'd rather use --version here, but apparently some GNU lds only accept -v. 9836 10036 case `$LD -v 2>&1 </dev/null` in 9837 10037 *GNU* | *'with BFD'*) … … 10113 10313 whole_archive_flag_spec_CXX=' ' 10114 10314 archive_cmds_need_lc_CXX=yes 10115 # This is similar to how AIX traditionally builds it 's shared libraries.10315 # This is similar to how AIX traditionally builds its shared libraries. 10116 10316 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 10117 10317 fi … … 10152 10352 ;; 10153 10353 darwin* | rhapsody*) 10154 case "$host_os"in10354 case $host_os in 10155 10355 rhapsody* | darwin1.[012]) 10156 10356 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' … … 10190 10390 fi 10191 10391 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10192 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld 's10392 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 10193 10393 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 10194 10394 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' … … 10198 10398 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}' 10199 10399 else 10200 case "$cc_basename"in10400 case $cc_basename in 10201 10401 xlc*) 10202 10402 output_verbose_link_cmd='echo' 10203 10403 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' 10204 10404 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 10205 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld 's10405 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 10206 10406 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 10207 10407 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}' … … 10216 10416 dgux*) 10217 10417 case $cc_basename in 10218 ec++ )10418 ec++*) 10219 10419 # FIXME: insert proper C++ library support 10220 10420 ld_shlibs_CXX=no 10221 10421 ;; 10222 ghcx )10422 ghcx*) 10223 10423 # Green Hills C++ Compiler 10224 10424 # FIXME: insert proper C++ library support … … 10255 10455 10256 10456 case $cc_basename in 10257 CC )10457 CC*) 10258 10458 # FIXME: insert proper C++ library support 10259 10459 ld_shlibs_CXX=no 10260 10460 ;; 10261 aCC )10461 aCC*) 10262 10462 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' 10263 10463 # Commands to make compiler produce verbose output that lists … … 10283 10483 hpux10*|hpux11*) 10284 10484 if test $with_gnu_ld = no; then 10285 case "$host_cpu"in10485 case $host_cpu in 10286 10486 hppa*64*) 10287 10487 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' … … 10299 10499 esac 10300 10500 fi 10301 case "$host_cpu"in10501 case $host_cpu in 10302 10502 hppa*64*) 10303 10503 hardcode_direct_CXX=no … … 10320 10520 10321 10521 case $cc_basename in 10322 CC )10522 CC*) 10323 10523 # FIXME: insert proper C++ library support 10324 10524 ld_shlibs_CXX=no 10325 10525 ;; 10326 aCC )10327 case "$host_cpu"in10526 aCC*) 10527 case $host_cpu in 10328 10528 hppa*64*|ia64*) 10329 10529 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' … … 10346 10546 if test "$GXX" = yes; then 10347 10547 if test $with_gnu_ld = no; then 10348 case "$host_cpu"in10548 case $host_cpu in 10349 10549 ia64*|hppa*64*) 10350 10550 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' … … 10364 10564 irix5* | irix6*) 10365 10565 case $cc_basename in 10366 CC )10566 CC*) 10367 10567 # S
