Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Kaznacheev
GHC
Commits
0f75ae43
Commit
0f75ae43
authored
13 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Small configure.ac refactoring
parent
981312d7
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+18
-13
18 additions, 13 deletions
configure.ac
with
18 additions
and
13 deletions
configure.ac
+
18
−
13
View file @
0f75ae43
...
...
@@ -403,7 +403,6 @@ then
fi
fi
SplitObjsBroken=NO
if test "$TargetOS_CPP" = "darwin"
then
AC_MSG_CHECKING(XCode version)
...
...
@@ -412,7 +411,8 @@ then
if test "$XCodeVersion" = ""
then
AC_MSG_RESULT(not found (too old?))
SplitObjsBroken=YES
XCodeVersion1=0
XCodeVersion2=0
else
AC_MSG_RESULT($XCodeVersion)
XCodeVersion1=`echo "$XCodeVersion" | sed 's/\..*//'`
...
...
@@ -421,17 +421,22 @@ changequote(, )dnl
changequote([, ])dnl
AC_MSG_NOTICE(XCode version component 1: $XCodeVersion1)
AC_MSG_NOTICE(XCode version component 2: $XCodeVersion2)
# Split objects is broken (#4013) with XCode < 3.2
if test "$XCodeVersion1" -lt 3
fi
fi
SplitObjsBroken=NO
if test "$TargetOS_CPP" = "darwin"
then
# Split objects is broken (#4013) with XCode < 3.2
if test "$XCodeVersion1" -lt 3
then
SplitObjsBroken=YES
else
if test "$XCodeVersion1" -eq 3
then
SplitObjsBroken=YES
else
if test "$XCodeVersion1" -eq 3
if test "$XCodeVersion2" -lt 2
then
if test "$XCodeVersion2" -lt 2
then
SplitObjsBroken=YES
fi
SplitObjsBroken=YES
fi
fi
fi
...
...
@@ -443,8 +448,8 @@ dnl --------------------------------------------------------------
if test "$TargetOS_CPP" = "darwin" &&
test "$XCodeVersion1" -ge 4
then
# From Xcode 4, use 'gcc-4.2' to force the use of the gcc legacy
backend (instead of the LLVM
# backend)
# From Xcode 4, use 'gcc-4.2' to force the use of the gcc legacy
#
backend (instead of the LLVM
backend)
FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc-4.2])
else
FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment