On Wed, 18 Aug 2010, Tom Hacohen wrote:

> On Wed, Aug 18, 2010 at 7:06 PM, Vincent Torri <vto...@univ-evry.fr> wrote:
>
>> See how I did in eina's configure.ac. It's just a macro to add.
>>
>>
> This?
>
> m4_ifdef([v_mic],
>   [
>    EFL_COMPILER_FLAG([-Wall])
>    EFL_COMPILER_FLAG([-W])
>   ])

EFL_COMPILER_FLAG([-Wall]) adds -Wall to CFLAGS

m4_ifdef([v_mic] ***) checks if v_mic is used (that is if the micro 
version of eina is defined. I did that in order to add these flags only 
when in "developper mode" (not in release mode)

But you can use EFL_COMPILER_FLAG without m4_ifdef. Just like that:

EFL_COMPILER_FLAG([-Wall])

Vincent

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to