bug-ncurses
[Top][All Lists]
Advanced

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

Re: [PATCH] cygwin sharedlib build fixes, terminfo


From: Charles Wilson
Subject: Re: [PATCH] cygwin sharedlib build fixes, terminfo
Date: Thu, 31 Jul 2003 17:24:55 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

I rebuilt ncurses using the official patchsets from the website (thru the 20030726 patch). Thanks for incorporating the cygwin fixes.

Nicholas Wourms then sent me some helpful additions for building with libtool on cygwin. I reworked them so they don't break non-libtool builds...

Now, these changes to ncurses are sufficient to build it shared on cygwin -- provided
  1) you get a bugfix for libtool itself...
  2) you get a bugfix for the libtool-wrapper on cygwin
So, my most recent "official" release of ncurses-for-cygwin was built from sources that have these patches -- BUT I built non-libtool.

So, I'm *sure* these patches don't break non-libtool. However, I was forced to make some changes to aclocal.m4 -- which means that you need to run autoconf (I used dickey.his.com/20020210 version). I did not include the patch to configure; it was far too big. Just run autoconf after applying these patches.

Hope you find these changes useful -- many of them are necessary not solely for cygwin, but for libtool-1.5 on any platform.

--
Chuck
aclocal.m4:
-----------------
  Add support for 'libtool --mode=*'.  The --mode parameter is
  required for libtool-1.5 and above; it is compatible with 
  libtool-1.4.x.

  Add support for 'libtool --tag=CXX'.  This is libtool-1.5
  specific -- but since pre-1.5 libtool couldn't build C++ libraries
  at all, this isn't a big deal.  This only affects the c++/
  stuff.

c++/Makefile.in
form/Makefile.in
menu/Makefile.in
ncurses/Makefile.in
panel/Makefile.in
progs/Makefile.in
tack/Makefile.in
test/Makefile.in
mk-1st
mk-2nd
-------------------
  use improved libtool stuff.

  
install-sh
mkinstalldirs
-------------------
  update to latest version


Attachment: ncurses.cygwin.patch.post20030726.gz
Description: GNU Zip compressed data


reply via email to

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