Coda File System

Re: libreadline + libncurses

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 4 Nov 1999 17:14:03 -0500
On Thu, Nov 04, 1999 at 09:02:43AM +0100, Kurt Huwig wrote:
> BTW: for SuSE Linux 6.2, you have to change
> 
> 	LIBREADLINE   = -lreadline
> 
> into
> 
> 	LIBREADLINE   = -lreadline $(LIBCURSES)
> 
> in 'configs/Makeconf.linux' to make it compile.

So what goes wrong in the autoconf test?

dnl Check which lib provides termcap functionality
AC_SUBST(LIBTERMCAP)
AC_DEFUN(CODA_CHECK_LIBTERMCAP,
  AC_CHECK_LIB(termcap, main, [LIBTERMCAP="-ltermcap"],
    [AC_CHECK_LIB(ncurses, tgetent, [LIBTERMCAP="-lncurses"])]))

All places where we use $(LIBREADLINE) there is AFAIK also an entry for
$(LIBTERMCAP). Ok, the naming might be funny, but it is the libtermcap
functionality we're concerned with here.

Jan
Received on 1999-11-04 17:17:50