Hello, Last October, I checked in a patch that made sure that GDB would use the "minimal" termcap/curses library that it could find. This was necessary in order to align GDB with readline, thus make sure that readline and GDB use the same terminal library. This fixed a nasty issue on Tru64 were readline wanted to use libtermcap whereas gdb wanted to use ncurses. See: http://www.sourceware.org/ml/gdb-patches/2008-10/msg00071.html. One of the consequences, is that we started building GDB with libtermcap.so on some of our GNU/Linux machines, if libtermcap was found. As it turns out, it appears that most distributions are no longer providing the symbolic link between libtermcap and libcurses. This is a problem for binary distribution because customer tried to install our binary on their machine, and found that there was a missing dependency. The attached patch introduced a new --with-curses configure switch, which follows what readline already does. That way, if one configures with --with-curses, both readline and gdb will remain consistent and use a curses library. 2009-02-13 Jerome Guitton * configure.ac: Add --with-curses. * configure: Regenerated. Tested on all our supported platforms (AdaCore builds GDB with --with-curses on all GNU/Linux hosts we support, and without it on all the other ones). Any objection to checking this change in? Daniel, might be useful to CS as well, if you guys ship debuggers hosted on GNU/Linux like we do. -- Joel