Skip to content
Snippets Groups Projects
Commit 5f6b2636 authored by Gabor Greif's avatar Gabor Greif :speech_balloon: Committed by Ben Gamari
Browse files

suppress popup dialog about missing Xcode at configure

tested with `bash` and `zsh`.

(cherry picked from commit 78ce1b41)
parent 3ddb196d
No related branches found
No related tags found
No related merge requests found
...@@ -2126,7 +2126,7 @@ AC_DEFUN([XCODE_VERSION],[ ...@@ -2126,7 +2126,7 @@ AC_DEFUN([XCODE_VERSION],[
if test "$TargetVendor_CPP" = "apple" if test "$TargetVendor_CPP" = "apple"
then then
AC_MSG_CHECKING(XCode version) AC_MSG_CHECKING(XCode version)
XCodeVersion=`xcodebuild -version | grep Xcode | sed "s/Xcode //"` XCodeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
# Old XCode versions don't actually give the XCode version # Old XCode versions don't actually give the XCode version
if test "$XCodeVersion" = "" if test "$XCodeVersion" = ""
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment