Removing the -ltic from the LDFLAGS variable exported prior
to ./configure and instead passing it directly to $(MAKE) allows
libtool to link tack correctly.

I've just built tack by removing -ltic from the variable exported
to ./configure, using this line in debian/rules:

$(MAKE) LDFLAGS="-ltic -lncurses"

The problem is the need to add ncurses which is plain ugly. I suspect
an upstream bug. Maybe stop copying config.guess and config.sub and
actually use 'autoreconf -ifs' to sort out the autoconf problems from
upstream, although that looks like it will need a patch for
configure.in. I suspect upstream are not testing the release with 'make
distcheck'.

$ autoreconf -ifs
autoheader: warning: missing template: CC_HAS_PROTOS
autoheader: Use AC_DEFINE([CC_HAS_PROTOS], [], [Description])
autoheader: warning: missing template: HAVE_NCURSESW_NCURSES_H
autoheader: warning: missing template: HAVE_NCURSESW_TERM_H
autoheader: warning: missing template: HAVE_NCURSES_H
autoheader: warning: missing template: HAVE_NCURSES_NCURSES_H
autoheader: warning: missing template: HAVE_NCURSES_TERM_H
autoheader: warning: missing template: HAVE_SYS_TIME_SELECT
autoheader: warning: missing template: HAVE_TERM_H
autoheader: warning: missing template: MIXEDCASE_FILENAMES
autoheader: warning: missing template: NCURSES
autoheader: warning: missing template: NO_LEAKS
autoheader: warning: missing template: SIG_ATOMIC_T
autoheader: warning: missing template: SYSTEM_NAME
autoheader: warning: missing template: USE_DBMALLOC
autoheader: warning: missing template: USE_DMALLOC
autoheader: warning: missing template: USE_VALGRIND
autoreconf: /usr/bin/autoheader failed with exit status: 1

Maybe use the hack for Lenny and talk to upstream about a proper fix
using the autoconf tools to make their configure.in code correct.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpTSMUTFNnxe.pgp
Description: PGP signature

Reply via email to