Ticket #9482: 0001-teach-configure-about-studio.patch
File 0001-teach-configure-about-studio.patch, 1.2 KB (added by , 11 years ago) |
---|
-
configure
a b 752 752 if test -n "$_host"; then 753 753 compilers="$_host_alias-g++ $_host_alias-c++ $_host-g++ $_host-c++" 754 754 else 755 compilers="g++ c++ "755 compilers="g++ c++ CC" 756 756 fi 757 757 758 758 # Iterate over all candidates, pick the first working one … … 812 812 cxx_version="not found" 813 813 cxx_verc_fail=yes 814 814 fi 815 echo non-gcc compiler version ${cxx_version}816 815 else 817 816 cxx_version="not found" 818 817 cxx_verc_fail=yes 819 echo found non-gcc compiler version ${cxx_version}820 818 fi 821 819 822 820 case $_host_os in … … 836 834 ;; 837 835 esac 838 836 ;; 837 solaris*) 838 cxx_version=`( $CXX -V ) 2>&1` 839 cxx_version="`echo "${cxx_version}" | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'`" 840 841 case $cxx_version in 842 5.1[0-2]) 843 cxx_verc_fail=no 844 ;; 845 *) 846 cxx_version="$cxx_version, bad" 847 cxx_verc_fail=yes 848 ;; 849 esac 850 ;; 839 851 *) 840 852 cxx_version="$cxx_version, bad" 841 853 cxx_verc_fail=yes … … 850 862 echo "The version of your compiler is not supported at this time" 851 863 echo "Please ensure you are using GCC >= 2.95" 852 864 exit 1 865 else 866 echo found non-gcc compiler version ${cxx_version} 853 867 fi 854 868 855 869 #