Skip to content

Instantly share code, notes, and snippets.

@23Skidoo
Created October 17, 2013 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 23Skidoo/7026016 to your computer and use it in GitHub Desktop.
Save 23Skidoo/7026016 to your computer and use it in GitHub Desktop.
cabal_macros.h with TOOL_VERSION
/* DO NOT EDIT: This file is automatically generated by Cabal */
/* package array-0.4.0.1 */
#define VERSION_array "0.4.0.1"
#define MIN_VERSION_array(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 4 || \
(major1) == 0 && (major2) == 4 && (minor) <= 0)
/* package base-4.6.0.1 */
#define VERSION_base "4.6.0.1"
#define MIN_VERSION_base(major1,major2,minor) (\
(major1) < 4 || \
(major1) == 4 && (major2) < 6 || \
(major1) == 4 && (major2) == 6 && (minor) <= 0)
/* package regex-base-0.93.2 */
#define VERSION_regex_base "0.93.2"
#define MIN_VERSION_regex_base(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 93 || \
(major1) == 0 && (major2) == 93 && (minor) <= 2)
/* package regex-tdfa-1.1.8 */
#define VERSION_regex_tdfa "1.1.8"
#define MIN_VERSION_regex_tdfa(major1,major2,minor) (\
(major1) < 1 || \
(major1) == 1 && (major2) < 1 || \
(major1) == 1 && (major2) == 1 && (minor) <= 8)
/* tool gcc-4.6 */
#define TOOL_VERSION_gcc "4.6"
#define MIN_TOOL_VERSION_gcc(major1,major2,minor) (\
(major1) < 4 || \
(major1) == 4 && (major2) < 6 || \
(major1) == 4 && (major2) == 6 && (minor) <= 0)
/* tool ghc-7.6.3 */
#define TOOL_VERSION_ghc "7.6.3"
#define MIN_TOOL_VERSION_ghc(major1,major2,minor) (\
(major1) < 7 || \
(major1) == 7 && (major2) < 6 || \
(major1) == 7 && (major2) == 6 && (minor) <= 3)
/* tool ghc-pkg-7.6.3 */
#define TOOL_VERSION_ghc_pkg "7.6.3"
#define MIN_TOOL_VERSION_ghc_pkg(major1,major2,minor) (\
(major1) < 7 || \
(major1) == 7 && (major2) < 6 || \
(major1) == 7 && (major2) == 6 && (minor) <= 3)
/* tool haddock-2.13.2 */
#define TOOL_VERSION_haddock "2.13.2"
#define MIN_TOOL_VERSION_haddock(major1,major2,minor) (\
(major1) < 2 || \
(major1) == 2 && (major2) < 13 || \
(major1) == 2 && (major2) == 13 && (minor) <= 2)
/* tool hpc-0.6 */
#define TOOL_VERSION_hpc "0.6"
#define MIN_TOOL_VERSION_hpc(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 6 || \
(major1) == 0 && (major2) == 6 && (minor) <= 0)
/* tool hsc2hs-0.67 */
#define TOOL_VERSION_hsc2hs "0.67"
#define MIN_TOOL_VERSION_hsc2hs(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 67 || \
(major1) == 0 && (major2) == 67 && (minor) <= 0)
/* tool pkg-config-0.26 */
#define TOOL_VERSION_pkg_config "0.26"
#define MIN_TOOL_VERSION_pkg_config(major1,major2,minor) (\
(major1) < 0 || \
(major1) == 0 && (major2) < 26 || \
(major1) == 0 && (major2) == 26 && (minor) <= 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment