[PATCH:libXtst 1/2] Move -I flags from AM_CFLAGS to AM_CPPFLAGS
Peter Hutterer
peter.hutterer at who-t.net
Wed Apr 25 17:23:08 PDT 2012
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 <alan.coopersmith at oracle.com>
> ---
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net> 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
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list