Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh doesn't compile correctly out of the box for HPUX



Nathan Peirce wrote:
> It does compile, but zle doesn't function correctly unless you have
> the LIBS line in the Makefile look like this:
> 
>    LIBS            = -lnsl -lHcurses -lcurses -lm  -lc
> 
> Notice that the Hcurses library has to be used instead of the default
> curses.

Is that really instead of (not in addition to)?  In that case, and
assuming Hcurses is HPUX-specific, I would think we can fix this by
changing

[case "$host_os" in
  hpux10.*|hpux11.*|solaris*)
      termcap_curses_order="curses ncurses termcap" ;;
  *)             termcap_curses_order="termcap curses ncurses" ;;
esac]

to 

[case "$host_os" in
  hpux10.*|hpux11.*|solaris*)
      termcap_curses_order="Hcurses curses ncurses termcap" ;;
  *)             termcap_curses_order="termcap curses ncurses" ;;
esac]

in the configure test.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author