Under Solaris, readline won't work without terminal libraries. And, on IRIX, smbwrapper has readline support so it needs LDFLAGS is readline lives outside of the usual locations. -- albert chin (china@thewrittenword.com) -- snip snip --- source/Makefile.in.orig Fri Mar 24 15:43:36 2000 +++ source/Makefile.in Fri Mar 24 15:44:12 2000 @@ -449,11 +449,11 @@ bin/smbwrapper.@SHLIBEXT@: $(PICOBJS) @echo Linking shared library $@ - @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS) + @$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LDFLAGS) $(LIBS) bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32) @echo Linking shared library $@ - @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS) + @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LDFLAGS) $(LIBS) bin/smbsh: $(SMBSH_OBJ) bin/.dummy @echo Linking $@ --- source/configure.in.orig Fri Mar 24 15:44:21 2000 +++ source/configure.in Fri Mar 24 15:44:43 2000 @@ -305,6 +305,10 @@ # test for where we get readline() from if test "$ac_cv_header_readline_h" = "yes" || test "$ac_cv_header_readline_readline_h" = "yes"; then + for termlib in ncurses curses termcap terminfo termlib; do + AC_CHECK_LIB(${termlib}, tgetent, + [LIBS="-l${termlib} $LIBS"; break]) + done AC_CHECK_LIB(readline,readline) fi