bug-bash
[Top][All Lists]
Advanced

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

Re: readline dynamic library configuration for cygwin


From: Eric Blake
Subject: Re: readline dynamic library configuration for cygwin
Date: Tue, 9 Aug 2005 15:55:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> 
> Both support/shobj-conf and shlib-install have sections added for cygwin,
> then shlib/Makefile.in and configure.in are updated to propogate the new
> variables in shobj-conf.  shlib/Makefile.in is also patched to pass
> $(bindir) on to shlib-install, since cygwin needs to know both bindir and
> libdir.

Followup - this modification to my previous posting lets ./configure choose 
between -ltermcap vs -lcurses on cygwin, rather than assuming --with-curses.

> --- readline-5.1-alpha1.orig/support/shobj-conf       2005-08-04 
06:56:47.561375000 -0600
> +++ readline-5.1-alpha1/support/shobj-conf    2005-08-06 15:03:02.389125000 -
0600
>  <at>  <at>  -466,6 +468,23  <at>  <at> 
>       SHLIB_STATUS=unsupported
>       ;;
> 
> +cygwin*)
...
> +     SHLIB_LIBS=-lcurses

SHLIB_LIBS='$(TERMCAP_LIB)'

--
Eric Blake






reply via email to

[Prev in Thread] Current Thread [Next in Thread]