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

Daniel Jacobowitz drow@false.org
Mon May 5 14:39:00 GMT 2008


On Mon, May 05, 2008 at 01:50:38AM -0300, Thiago Jung Bauermann wrote:
> % ../configure --with-libpython2.5-prefix=/blah
> configure: error: invalid package name: libpython2.5-prefix

Do we even want this option?  The macro it comes from has been
surprisingly troublesome and is very complicated.  Maybe we just want
--with-python, --without-python, and --with-python=/path.

BTW, could you do me a favor... make GDB fail to build if
--with-python is specified on the command line but Python could not be
found.  This is something I learned from working on Debian package
builds and our own Sourcery G++ product builds.  Autoconf
configuration is not so good at producing consistent packages
build after build.  IMO the default should be "use python if
we find it", but with --with-python it should be "use python or go
boom".

Anyway, </soapbox>.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list