Changeset: a28d1ff72c47 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a28d1ff72c47
Modified Files:
        configure.ag
Branch: Jan2014
Log Message:

configure: be more verbose if compiler could not be identified


diffs (27 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -404,16 +404,20 @@ case "$CC_version" in
        CC_ver="clang-$gcc_ver"
        ;;
 *)
-       CC_version="`$CC -V 2>&1`"
-       case "$CC_version" in
+       CC_V="`$CC -V 2>&1`"
+       case "$CC_V" in
        *Sun\ Ceres\ C\ *|*Sun\ C\ *)
                # developer/sunstudioexpress and
                # developer/sunstudio12u1 respectively
                CC_ver="suncc-`echo "$CC_version" | sed -n 's/.*Sun Ceres C 
\(.*\) SunOS.*/\1/p;s/.*Sun C \(.*\) SunOS.*/\1/p'`"
+               CC_version="$CC_V"
                ;;
        *)
-               AC_MSG_WARN([compiler not recognized: `$CC --version` says
+               AC_MSG_WARN([compiler not recognized:
+`$CC --version` says
 $CC_version
+`$CC -V` says
+$CC_V
        ])
                ;;
        esac
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to