summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2019-12-22 08:36:53 (GMT)
committerGabor Greif <ggreif@gmail.com>2019-12-22 08:46:27 (GMT)
commit1c302c6289a6eddc92b48815dd420bd58eb2f286 (patch)
treeb2f4e71a1391f84d4a40977598ccbcb5ca0c818a
parent78ce1b412e300f1fde0781d0b3cc912e4e56b543 (diff)
downloadghc-wip/xcode-dialog.zip
ghc-wip/xcode-dialog.tar.gz
ghc-wip/xcode-dialog.tar.bz2
while at it rename XCode to the official Xcodewip/xcode-dialog
-rw-r--r--aclocal.m424
-rw-r--r--compiler/main/SysTools/Info.hs6
-rw-r--r--configure.ac2
-rw-r--r--docs/users_guide/codegens.rst2
4 files changed, 17 insertions, 17 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 9d449d0..fd096b2 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2121,26 +2121,26 @@ AC_SUBST(LIBRARY_[]translit([$1], [-], [_])[]_VERSION)
# XCODE_VERSION()
# --------------------------------
-# Gets the version number of XCode, if on a Mac
+# Gets the version number of Xcode, if on a Mac
AC_DEFUN([XCODE_VERSION],[
if test "$TargetVendor_CPP" = "apple"
then
- AC_MSG_CHECKING(XCode version)
- XCodeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
- # Old XCode versions don't actually give the XCode version
- if test "$XCodeVersion" = ""
+ AC_MSG_CHECKING(Xcode version)
+ XcodeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"`
+ # Old Xcode versions don't actually give the Xcode version
+ if test "$XcodeVersion" = ""
then
AC_MSG_RESULT(not found (too old?))
- XCodeVersion1=0
- XCodeVersion2=0
+ XcodeVersion1=0
+ XcodeVersion2=0
else
- AC_MSG_RESULT($XCodeVersion)
- XCodeVersion1=`echo "$XCodeVersion" | sed 's/\..*//'`
+ AC_MSG_RESULT($XcodeVersion)
+ XcodeVersion1=`echo "$XcodeVersion" | sed 's/\..*//'`
changequote(, )dnl
- XCodeVersion2=`echo "$XCodeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
+ XcodeVersion2=`echo "$XcodeVersion" | sed 's/[^.]*\.\([^.]*\).*/\1/'`
changequote([, ])dnl
- AC_MSG_NOTICE(XCode version component 1: $XCodeVersion1)
- AC_MSG_NOTICE(XCode version component 2: $XCodeVersion2)
+ AC_MSG_NOTICE(Xcode version component 1: $XcodeVersion1)
+ AC_MSG_NOTICE(Xcode version component 2: $XcodeVersion2)
fi
fi
])
diff --git a/compiler/main/SysTools/Info.hs b/compiler/main/SysTools/Info.hs
index e61846d..93c2819 100644
--- a/compiler/main/SysTools/Info.hs
+++ b/compiler/main/SysTools/Info.hs
@@ -231,13 +231,13 @@ getCompilerInfo' dflags = do
-- FreeBSD clang
| any ("FreeBSD clang version" `isInfixOf`) stde =
return Clang
- -- XCode 5.1 clang
+ -- Xcode 5.1 clang
| any ("Apple LLVM version 5.1" `isPrefixOf`) stde =
return AppleClang51
- -- XCode 5 clang
+ -- Xcode 5 clang
| any ("Apple LLVM version" `isPrefixOf`) stde =
return AppleClang
- -- XCode 4.1 clang
+ -- Xcode 4.1 clang
| any ("Apple clang version" `isPrefixOf`) stde =
return AppleClang
-- Unknown linker.
diff --git a/configure.ac b/configure.ac
index 8d6ceb9..86c576d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -586,7 +586,7 @@ AC_SUBST([NmCmd])
if test "$TargetOS_CPP" = "darwin"
then
AC_MSG_CHECKING(whether nm program is broken)
- # Some versions of XCode ship a broken version of `nm`. Detect and work
+ # Some versions of Xcode ship a broken version of `nm`. Detect and work
# around this issue. See : https://gitlab.haskell.org/ghc/ghc/issues/11744
nmver=$(${NM} --version | grep version | sed 's/ //g')
case "$nmver" in
diff --git a/docs/users_guide/codegens.rst b/docs/users_guide/codegens.rst
index c68eff2..514a830 100644
--- a/docs/users_guide/codegens.rst
+++ b/docs/users_guide/codegens.rst
@@ -58,7 +58,7 @@ To install LLVM and Clang:
- *Linux*: Use your package management tool.
- *Mac OS X*: Clang is included by default on recent OS X machines when
- XCode is installed (from 10.6 and later). LLVM is not included.
+ Xcode is installed (from 10.6 and later). LLVM is not included.
In order to use the LLVM based code generator, you should install the
`Homebrew <http://mxcl.github.com/homebrew/>`__ package manager for
OS X. Alternatively you can download binaries for LLVM and Clang from