[Xlibs] [PATCH] X11_CFLAGS not exported in configure.ac

Jim Gettys Jim.Gettys@hp.com
Sun, 09 Nov 2003 09:15:53 -0500


A better way to make sure things don't get lost is to bugzilla
them.

Keith, I'm also not a autotool expert.  I'm committing this
for Luciano, but as I don't understand what I'm doing and
my autotool book is in the office today....
                        - Jim

On Sun, 2003-11-09 at 06:38, Luciano Montanaro wrote:
> I sent this patch while replying to my previous message, but there was no 
> reply. 
> 
> Without the following patch, the xtrans include directory is not added
> to the compiler command line, since then the X11_CFLAGS are not changed
> in the generated configure script. 
> I am not an auto.* expert myself, but this let me configure libX11 for 
> installation to a path other than the default.
> 
> Luciano
> 
> Index: configure.ac
> ===================================================================
> RCS file: /cvs/xlibs/X11/configure.ac,v
> retrieving revision 1.17
> diff -p -u -r1.17 configure.ac
> --- configure.ac        1 Nov 2003 09:11:49 -0000       1.17
> +++ configure.ac        6 Nov 2003 11:34:14 -0000
> @@ -168,6 +168,7 @@ fi
>  X11_DATADIR='${datadir}/X11'
> 
>  AC_SUBST(X11_DATADIR)
> +AC_SUBST(X11_CFLAGS)
> 
>  AC_OUTPUT([Makefile
>             include/Makefile
> 
> 
> 
> 
> --
> - I want a  Software  Patents  Free  Europe  too!  And  you? -
> --------------------------------------------------------------
>  EuropeSwPatentFree - http://EuropeSwPatentFree.internautas.org
> --------------------------------------------------------------
> 
> _______________________________________________
> Xlibs mailing list
> Xlibs@pdx.freedesktop.org
> http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/xlibs
> 
> _______________________________________________
> Xlibs mailing list
> Xlibs@pdx.freedesktop.org
> http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/xlibs
-- 
Jim Gettys <Jim.Gettys@hp.com>
HP Labs, Cambridge Research Laboratory