Re: [Haskell-cafe] Cabal properties with conditionals
On Sun, 2009-03-22 at 01:03 +0100, Manlio Perillo wrote: > Duncan Coutts ha scritto: > > On Sat, 2009-03-21 at 23:05 +0100, Manlio Perillo wrote: > > > >> P.S: I tried to send an email to cabal-devel some days ago, with a > >> feature I would like to see in Cabal. > >> But the mail was never posted to the mailing list. > >> Is that list moderated? > > > > It's subscriber only, like all the haskell.org mailing lists. We got too > > much spam otherwise. :-( > > > > But I did subscribed! Oh, then it should just work. There's nothing stuck in the moderation queue, I've checked (the only things that get moderated are posts from subscribers with very large attachments). > >> Should I simply fill a ticket? > > > > Yes, thanks very much. > Ok. > > I posted some details in this thread: > http://www.haskell.org/pipermail/haskell-cafe/2009-March/057923.html Ok, great. A feature request ticket about that would be good. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal properties with conditionals
Duncan Coutts ha scritto: On Sat, 2009-03-21 at 23:05 +0100, Manlio Perillo wrote: P.S: I tried to send an email to cabal-devel some days ago, with a feature I would like to see in Cabal. But the mail was never posted to the mailing list. Is that list moderated? It's subscriber only, like all the haskell.org mailing lists. We got too much spam otherwise. :-( But I did subscribed! Should I simply fill a ticket? Yes, thanks very much. Ok. I posted some details in this thread: http://www.haskell.org/pipermail/haskell-cafe/2009-March/057923.html Duncan Manlio ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal properties with conditionals
On Sat, 2009-03-21 at 23:05 +0100, Manlio Perillo wrote: > P.S: I tried to send an email to cabal-devel some days ago, with a > feature I would like to see in Cabal. > But the mail was never posted to the mailing list. > Is that list moderated? It's subscriber only, like all the haskell.org mailing lists. We got too much spam otherwise. :-( > Should I simply fill a ticket? Yes, thanks very much. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal properties with conditionals
Duncan Coutts ha scritto: On Sat, 2009-03-21 at 14:26 +0100, Manlio Perillo wrote: Hi. Assuming this configuration fragment: library xxx cc-options: -Wall if flag(HAVE_URANDOM) cc-options:-DHAVE_URANDOM In case the HAVE_URANDOM flag is defined, what will be the value of the used cc-options? 1) -DHAHE_URANDOM 2) -Wall -DHAHE_URANDOM The latter. Try it. In general all fields get `mappend`ed which for list-like fields means appending. For single value fields like True/False then latter fields win. Ok, thanks. P.S: I tried to send an email to cabal-devel some days ago, with a feature I would like to see in Cabal. But the mail was never posted to the mailing list. Is that list moderated? Should I simply fill a ticket? Duncan Manlio ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Cabal properties with conditionals
On Sat, 2009-03-21 at 14:26 +0100, Manlio Perillo wrote: > Hi. > > Assuming this configuration fragment: > > library xxx > cc-options: -Wall > > if flag(HAVE_URANDOM) > cc-options:-DHAVE_URANDOM > > In case the HAVE_URANDOM flag is defined, what will be the value of the > used cc-options? > 1) -DHAHE_URANDOM > 2) -Wall -DHAHE_URANDOM The latter. Try it. In general all fields get `mappend`ed which for list-like fields means appending. For single value fields like True/False then latter fields win. Duncan ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe