Add NondecreasingIndentation to the list of extensions
authorIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 19:24:30 +0000 (19:24 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 19:24:30 +0000 (19:24 +0000)
unix.cabal

index 24b91fb..cc33587 100644 (file)
@@ -48,7 +48,9 @@ Library
         System.Posix.Semaphore
         System.Posix.SharedMem
     build-depends:     base >= 4.2 && < 4.4
-    extensions:        CPP, ForeignFunctionInterface, EmptyDataDecls
+    extensions: CPP, ForeignFunctionInterface, EmptyDataDecls
+    if impl(ghc >= 7.1)
+        extensions: NondecreasingIndentation
     include-dirs:      include
     includes:       HsUnix.h execvpe.h
     install-includes: