Re: [PATCH util-macros 2/6] Add XORG_TESTSET_CFLAG which can be used to test what flags the compiler supports

2011-11-02 Thread Gaetan Nadon
On Tue, 2011-11-01 at 13:16 -0700, Jeremy Huddleston wrote: > Signed-off-by: Jeremy Huddleston > --- > xorg-macros.m4.in | 27 +++ > 1 files changed, 27 insertions(+), 0 deletions(-) > > diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in > index 3b02190..c4a521f 100644

Re: [PATCH util-macros 2/6] Add XORG_TESTSET_CFLAG which can be used to test what flags the compiler supports

2011-11-01 Thread Jeremy Huddleston
This patch is currently incomplete. I'm hoping an m4 guru (Gaetan, you're my hero) can help finish it. The recursive part of XORG_TESTSET_CFLAG is currently commented out because it doesn't work. From a high level, it looks like the logic is right (it should strip the second argument in the r

[PATCH util-macros 2/6] Add XORG_TESTSET_CFLAG which can be used to test what flags the compiler supports

2011-11-01 Thread Jeremy Huddleston
Signed-off-by: Jeremy Huddleston --- xorg-macros.m4.in | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in index 3b02190..c4a521f 100644 --- a/xorg-macros.m4.in +++ b/xorg-macros.m4.in @@ -1378,6 +1378,33 @@ AC_