@@ -31,6 +31,10 @@ extra-source-files:
3131 examples/TestRFC2616.hs
3232 examples/rfc2616.c
3333
34+Flag developer
35+ Description: Whether to build the library in development mode
36+ Default: False
37+
3438flag split-base
3539flag applicative-in-base
3640
@@ -56,7 +60,9 @@ library
5660 Data.Attoparsec.Lazy
5761 other-modules: Data.Attoparsec.Internal
5862 ghc-options: -Wall
59− ghc-prof-options: -auto-all
63+
64+ if flag(developer)
65+ ghc-prof-options: -auto-all
6066
6167source-repository head
6268 type: mercurial