---------------------------------------------------------------- -- wren ng thornton ~ 2010.11.10 ---------------------------------------------------------------- Name: cabal-ffihugstest Version: 0.1.1.1 -- Source-Repository requires version 1.6 Cabal-Version: >= 1.6 Build-Type: Simple Stability: debugging Copyright: Copyright (c) 2009 wren ng thornton License: BSD3 License-File: LICENSE Author: wren ng thornton Maintainer: wren@community.haskell.org Homepage: http://code.haskell.org/~wren/ Category: Debugging Synopsis: Debug Cabal's interaction with ffihugs Description: Debug Cabal's interaction with ffihugs Source-Repository head Type: darcs Location: http://community.haskell.org/~wren/cabal-ffihugstest Flag useFFI Description: Use the FFI Default: True ---------------------------------------------------------------- Library Exposed-Modules: Cabal.FFIHugsTest Build-depends: base extensions: CPP if flag(useFFI) -- BUG: CPP not run before FFI CPP-Options: -D__USE_FFI__ extensions: ForeignFunctionInterface includes: math.h extra-libraries: m -- BUG: hugs-options not passed to ffihugs Hugs-Options: -98 +o -- BUGlet: impl(hugs) doesn't give version; or Cabal's built-in -- -D__HUGS__ doesn't already do this. Of course, Hugs isn't -- so kind to tell us which version it is either (without -- grepping the start-up banner). if impl(hugs) CPP-Options: -D__HUGS__=200609 ---------------------------------------------------------------- ----------------------------------------------------------- fin.