Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com X-Authentication-Warning: magetower.office.aol.com: prentis owned process doing -bs Date: Wed, 20 Mar 2002 21:25:00 -0500 (EST) From: Prentis Brooks To: cygwin-apps AT cygwin DOT com Subject: Re: tcp wrappers In-Reply-To: <20020320234823.GG6552@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 20 Mar 2002, Christopher Faylor wrote: > On Wed, Mar 20, 2002 at 06:09:33PM -0500, Charles Wilson wrote: > >(In the old days, making a DLL required intrusive and exhausting changes > >to lots and lots of source files -- __declspec(dllexport) this, > >__declspec(dllexport that)... -- but no longer.) With auto-import > >binutils, and the libtool-devel package, you merely: > > > >rm ldconfig.sh > >rm ltmain.sh > > << edit configure.in and make sure that > > it AC_PREREQ's 2.50 or greater >> > >libtoolize --force -c > >aclocal ( possibly need to add '-I some-subdir') > >automake --force -a > >autoconf > > > >And then configure/make as usual -- an poof! DLL AND static lib. > > I don't think that tcp wrappers uses configure or libtool, though. > Or it didn't the last time I looked at it. > Still doesn't, in fact the rebuild steps from my readme are as follows: To rebuild this package from the source: 1) cd into /usr/src/tcp_wrappers_7.6 2) run make cygwin 3) strip all exe's 4) mv *.exe /usr/sbin 5) mv libwrap.a /lib > >Okay, maybe it's not QUITE that easy, but it's close. You do need to > >understand the autotools and maybe read a few man pages, but... > > > >Still, this is a maintainer decision. If you don't want to DLLize, that > >is your prerogative. No complaints from me. > > Nor from me. It was just a suggestion. I don't think I've ever seen > a shared version of libwrap, actually. > > cgf > I am still open to looking at what it takes to DLL'ize the lib, and willing to test it to see what gains we get from it... when I get the chance ;) -- Prentis Brooks | prentis AT aol DOT net | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers