[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
readline ./configure bug
From: |
Paul Jarc |
Subject: |
readline ./configure bug |
Date: |
Tue, 27 Nov 2001 18:57:06 -0500 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu) |
Building readline 4.2a, I get this in the output from "./configure
--with-curses" (note trailing space on first line):
> checking which library has the termcap functions... using
> ./configure: test: =: unary operator expected
> ./configure: test: =: unary operator expected
> ./configure: test: =: unary operator expected
> ./configure: test: =: unary operator expected
> checking configuration for building shared libraries... supported
It seems to result from this part of configure ($bash_cv_termcap_lib
is empty and unquoted):
> if test "X$_bash_needmsg" = "Xyes"; then
> echo "$as_me:4469: checking which library has the termcap functions" >&5
> echo $ECHO_N "checking which library has the termcap functions... $ECHO_C" >&6
> fi
> echo "$as_me:4472: result: using $bash_cv_termcap_lib" >&5
> echo "${ECHO_T}using $bash_cv_termcap_lib" >&6
> if test $bash_cv_termcap_lib = gnutermcap && test -z "$prefer_curses"; then
> LDFLAGS="$LDFLAGS -L./lib/termcap"
> TERMCAP_LIB="./lib/termcap/libtermcap.a"
> TERMCAP_DEP="./lib/termcap/libtermcap.a"
> elif test $bash_cv_termcap_lib = libtermcap && test -z "$prefer_curses"; then
> TERMCAP_LIB=-ltermcap
> TERMCAP_DEP=
> elif test $bash_cv_termcap_lib = libtinfo; then
> TERMCAP_LIB=-ltinfo
> TERMCAP_DEP=
> elif test $bash_cv_termcap_lib = libncurses; then
> TERMCAP_LIB=-lncurses
> TERMCAP_DEP=
> else
> TERMCAP_LIB=-lcurses
> TERMCAP_DEP=
> fi
Autoconf bug or readline build bug? Or does --with-curses need an
=argument? Is it a problem for bash_cv_termcap_lib to be empty?
paul
- readline ./configure bug,
Paul Jarc <=