Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
896d839f
Commit
896d839f
authored
Oct 17, 2013
by
Mikhail Glushenkov
Browse files
Docs for TOOL_VERSION_*.
parent
79b34ea4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/developing-packages.markdown
View file @
896d839f
...
@@ -1953,6 +1953,10 @@ the actual version of the package in use is greater than or equal to
...
@@ -1953,6 +1953,10 @@ the actual version of the package in use is greater than or equal to
lexicographic on the sequence, but numeric on each component, so for
lexicographic on the sequence, but numeric on each component, so for
example 1.2.0 is greater than 1.0.3).
example 1.2.0 is greater than 1.0.3).
Since version 1.20, there is also the
`MIN_TOOL_VERSION_`
_`tool`_
family of
macros for conditioning on the version of build tools used to build the program
(e.g.
`hsc2hs`
).
Cabal places the definitions of these macros into an
Cabal places the definitions of these macros into an
automatically-generated header file, which is included when
automatically-generated header file, which is included when
preprocessing Haskell source code by passing options to the C
preprocessing Haskell source code by passing options to the C
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment