[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issues in current heimdal



On Thu, 31 Aug 2000, Derrick J Brashear wrote:

> 2) the libsl.a gets libeditline.a from the build problem still happens,
> because 
> libsl_la_LIBADD = @LIB_readline@
> gets expanded literally to:
> $(top_builddir)/lib/editline/libeditline.a $(LIB_tgetent)

This can be fixed by putting libeditline under libtool "control".
However I also included:
libeditline_la_LDFLAGS = -static 
to make it only build a static version as was already happening.

*** cf/krb-readline.m4     2000/06/12 12:52:57     1.1
--- cf/krb-readline.m4     2000/09/08 18:14:09
***************
*** 29,35 ****
        ac_foo=yes
        LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a
$LIB_el_init"
  else
!       LIB_readline='$(top_builddir)/lib/editline/libeditline.a'
  fi
  AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
  if test "$readline_libdir"; then
--- 29,35 ----
        ac_foo=yes
        LIB_readline="\$(top_builddir)/lib/editline/libel_compat.a
$LIB_el_init"
  else
!       LIB_readline='$(top_builddir)/lib/editline/libeditline.la'
  fi
  AM_CONDITIONAL(el_compat, test "$ac_foo" = yes)
  if test "$readline_libdir"; then
*** lib/editline/Makefile.am 1999/08/04 17:30:12     1.10
--- lib/editline/Makefile.am 2000/09/08 07:16:47
***************
*** 4,10 ****
  
  man_MANS = editline.3
  
! lib_LIBRARIES = libeditline.a
  if el_compat
  noinst_LIBRARIES = libel_compat.a
  else
--- 4,11 ----
  
  man_MANS = editline.3
  
! lib_LTLIBRARIES = libeditline.la
! libeditline_la_LDFLAGS = -static
  if el_compat
  noinst_LIBRARIES = libel_compat.a
  else
***************
*** 16,28 ****
  CHECK_LOCAL =
  
  testit_LDADD = \
!       libeditline.a \
        $(LIB_tgetent) \
        $(LIB_roken)
  
  include_HEADERS = editline.h
  
! libeditline_a_SOURCES = complete.c editline.c sysunix.c \
        editline.h roken_rename.h unix.h
  libel_compat_a_SOURCES = edit_compat.c
  
--- 17,29 ----
  CHECK_LOCAL =
  
  testit_LDADD = \
!       libeditline.la \
        $(LIB_tgetent) \
        $(LIB_roken)
  
  include_HEADERS = editline.h
  
! libeditline_la_SOURCES = complete.c editline.c sysunix.c \
        editline.h roken_rename.h unix.h
  libel_compat_a_SOURCES = edit_compat.c