1. 22 Mar, 2011 3 commits
    • Iustin Pop's avatar
    • Iustin Pop's avatar
      Makefile.am: add rules for htools compilation · d6159933
      Iustin Pop authored
      This patch adds some (not very nice) rules for htools
      compilation. Since automake only knows about some languages, and
      doesn't have a real extension mechanism, I cheat and declare them as
      "buildable scripts", instead of programs. Rationale:
      automake support for dir_PROGRAMS is limited to a few languages; in
      all cases, it assumes that translation from sources to binaries occurs
      in two steps, compilation and linking; it's not easy to change its
      In our case, where “ghc --make” does both steps, it's hard to force it
      into the automake model.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
    • Iustin Pop's avatar
      configure.ac: add checks for Haskell compiler/libs · e5bd9de5
      Iustin Pop authored
      This patch adds an enable/disable option for htools (--enable-htools),
      and associated tests for determining whether GHC (the compiler we use
      for htools) and required libraries are present.
      The method to do so is not very nice; usually, Haskell programs are
      configured and compiled using cabal (http://www.haskell.org/cabal/
      , a
      tool similar to Python's setuptools)), but that doesn't suit itself to
      nice integration with autoconf/automake, so we test for the modules
      presence manually.
      In the end, we set a few variables:
      - GHC: the path to the ghc compiler
      - HTOOLS_MODULES: command line option for ghc to select the wanted
        'parallel' module
      - HTOOLS_NOCURL: set to -DNO_CURL if we don't want to enable curl (and
        thus RAPI) support in htools
      - HTOOLS: set to 'yes' if we should compile/install the htools
      - HTOOLS_APIDOC: set to yes if we should build/install the htools
        API documentation
      - WANT_HTOOLS, WANT_HTOOLSAPIDOC: two automake conditionals for later
        use in Makefile.am
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
  2. 18 Mar, 2011 9 commits
  3. 17 Mar, 2011 5 commits
  4. 16 Mar, 2011 4 commits
  5. 15 Mar, 2011 8 commits
  6. 14 Mar, 2011 4 commits
  7. 11 Mar, 2011 6 commits
  8. 10 Mar, 2011 1 commit