[PATCH] Enable building GDB without installed libtermcap

Bernd Edlinger bernd.edlinger@hotmail.de
Thu Feb 26 19:15:00 GMT 2015


Hi,



On Thu, 26 Feb 2015 17:48:06, Pedro Alves wrote:
>
> Yes, but I think we should remove the mingw specific fallback
> a bit above too.
>

yes, and probably these lines too:

  cygwin*)
    if test -d $srcdir/libtermcap; then
      LIBS="../libtermcap/libtermcap.a $LIBS"
      ac_cv_search_tgetent="../libtermcap/libtermcap.a"
    fi ;;


reason: this block is never executed, because
$srcdir/libtermcap points to binutils-gdb/gdb/libtermcap
but it inclues ../libtermcap/libtermcap.a, which assumes
binutils-gdb/libtermcap. However if libtermcap was
there, it is built after gdb, so this would fail anyway.



Thanks
Bernd.
 		 	   		  


More information about the Gdb-patches mailing list