common/autoconf/generated-configure.sh

changeset 2321
519c5b16a52a
parent 2320
499617980681
child 2322
801559b2d34e
equal deleted inserted replaced
2320:499617980681 2321:519c5b16a52a
29877 # This is the compiler version number on the form X.Y[.Z] 29877 # This is the compiler version number on the form X.Y[.Z]
29878 29878
29879 29879
29880 29880
29881 29881
29882 if test "x$CC_VERSION" != "x$CXX_VERSION"; then 29882 if test "x$CC_VERSION_NUMBER" != "x$CXX_VERSION_NUMBER"; then
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C and C++ compiler has different version numbers, $CC_VERSION vs $CXX_VERSION." >&5 29883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C and C++ compiler has different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&5
29884 $as_echo "$as_me: WARNING: C and C++ compiler has different version numbers, $CC_VERSION vs $CXX_VERSION." >&2;} 29884 $as_echo "$as_me: WARNING: C and C++ compiler has different version numbers, $CC_VERSION_NUMBER vs $CXX_VERSION_NUMBER." >&2;}
29885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This typically indicates a broken setup, and is not supported" >&5 29885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This typically indicates a broken setup, and is not supported" >&5
29886 $as_echo "$as_me: WARNING: This typically indicates a broken setup, and is not supported" >&2;} 29886 $as_echo "$as_me: WARNING: This typically indicates a broken setup, and is not supported" >&2;}
29887 fi 29887 fi
29888 29888
29889 # We only check CC_VERSION since we assume CXX_VERSION is equal. 29889 # We only check CC_VERSION_NUMBER since we assume CXX_VERSION_NUMBER is equal.
29890 if [[ "$CC_VERSION" =~ (.*\.){3} ]] ; then 29890 if [[ "$CC_VERSION_NUMBER" =~ (.*\.){3} ]] ; then
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION. Comparisons might be wrong." >&5 29891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION. Comparisons might be wrong." >&5
29892 $as_echo "$as_me: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION. Comparisons might be wrong." >&2;} 29892 $as_echo "$as_me: WARNING: C compiler version number has more than three parts (X.Y.Z): $CC_VERSION. Comparisons might be wrong." >&2;}
29893 fi 29893 fi
29894 29894
29895 if [[ "$CC_VERSION" =~ [0-9]{6} ]] ; then 29895 if [[ "$CC_VERSION_NUMBER" =~ [0-9]{6} ]] ; then
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION. Comparisons might be wrong." >&5 29896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION. Comparisons might be wrong." >&5
29897 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION. Comparisons might be wrong." >&2;} 29897 $as_echo "$as_me: WARNING: C compiler version number has a part larger than 99999: $CC_VERSION. Comparisons might be wrong." >&2;}
29898 fi 29898 fi
29899 29899
29900 COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", $1, $2, $3) }' <<< "$CC_VERSION"` 29900 COMPARABLE_ACTUAL_VERSION=`$AWK -F. '{ printf("%05d%05d%05d\n", $1, $2, $3) }' <<< "$CC_VERSION_NUMBER"`
29901 29901
29902 29902
29903 # 29903 #
29904 # Setup the preprocessor (CPP and CXXCPP) 29904 # Setup the preprocessor (CPP and CXXCPP)
29905 # 29905 #

mercurial