On Tue, Apr 24, 2012 at 03:20:53PM -0700, Alan Coopersmith wrote:
> Ensures local copy of headers takes precedence over any -I flags the
> builder may have passed in CPPFLAGS.
> 
> Signed-off-by: Alan Coopersmith <[email protected]>
> ---

Reviewed-by: Peter Hutterer <[email protected]> for both

Cheers,
  Peter

>  src/Makefile.am |    6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 1091ece..67bf36e 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -6,9 +6,11 @@ libXtst_la_SOURCES = \
>  
>  libXtst_la_LIBADD = @XTST_LIBS@
>  
> -AM_CFLAGS = \
> +AM_CPPFLAGS = \
>       -I$(top_srcdir)/include \
> -     -I$(top_srcdir)/include/X11/extensions \
> +     -I$(top_srcdir)/include/X11/extensions
> +
> +AM_CFLAGS = \
>       $(XTST_CFLAGS) \
>       $(CWARNFLAGS)
>  
> -- 
> 1.7.9.2
> 
> _______________________________________________
> [email protected]: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to