Re: [RFC][patch 1/9] initial Python support

Thiago Jung Bauermann
2008-05-11T21:46:48Z

On Mon, 2008-05-05 at 10:46 -0400, Daniel Jacobowitz wrote:
> On Mon, May 05, 2008 at 11:06:20AM -0300, Thiago Jung Bauermann wrote:
> > > Maybe we just want
> > > --with-python, --without-python, and --with-python=/path.
> >
> > The last one isn't implemented by the AC_ARG_WITH option, IIUC. I'd have
> > to explicitly implement it.
>
> Right.

I just noticed that configure doesn't offer -prefix, -include or -lib
options to any of the libraries GDB currently uses, including recently
added ones. Does it have to be different for the Python library?

> One which adds -L${withval}/lib and -I${withval}/include
> works 99% of the time, and the user can fiddle CFLAGS/LDFLAGS for
> the other cases.

Perhaps fiddling with CFLAGS/LDFLAGS is enough anyway?
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center