8210723: Better information in configure for invalid Xcode
authorihse
Tue, 18 Sep 2018 10:29:56 +0200
changeset 51780 23e7cd5a9c54
parent 51779 1740b162dc0e
child 51781 dd737bf6abde
8210723: Better information in configure for invalid Xcode Reviewed-by: erikj
make/autoconf/toolchain.m4
--- a/make/autoconf/toolchain.m4	Mon Sep 17 22:56:31 2018 -0700
+++ b/make/autoconf/toolchain.m4	Tue Sep 18 10:29:56 2018 +0200
@@ -232,6 +232,7 @@
       XCODE_VERSION_OUTPUT=`"$XCODEBUILD" -version 2>&1 | $HEAD -n 1`
       $ECHO "$XCODE_VERSION_OUTPUT" | $GREP "Xcode " > /dev/null
       if test $? -ne 0; then
+        AC_MSG_NOTICE([xcodebuild output: $XCODE_VERSION_OUTPUT])
         AC_MSG_ERROR([Failed to determine Xcode version.])
       fi
       XCODE_MAJOR_VERSION=`$ECHO $XCODE_VERSION_OUTPUT | \