|
From: Ted Stresen-R. <ted...@ma...> - 2003-05-28 13:53:07
|
This is the reply I got from Peter O'Gorman when trying to compile htdig on OS X with shared libraries. I don't think he was working on the most recent snapshot, but I'd have to confirm that with him directly. Hope this helps! BTW, excellent work, Jim. You deserve some kind of reward... If you ever pass through Chicago, I'd like to buy you a drink. Ted Stresen-Reuter Begin forwarded message: > From: "Peter O'Gorman" <pe...@po...> > Date: Tue May 27, 2003 11:10:05 PM America/Chicago > To: Ted Stresen-Reuter <ted...@ma...> > Subject: Re: question about your modification to libtool > > Well, after a bit of confusion as to why #include <iostream.h> would > complain about memcpy and memcmp etc not being declared, I went to > bed, woke up, had coffee, made the following change to acconfig.h, and > it all compiled happily with libtool-1.5 > > Thanks, > Peter > > Reasons for this change: > If we do #if HAVE_MEMCMP etc in the @TOP@ section of acinclude, it > will appear before the #define HAVE_MEMCMP.. a bad idea. So instead we > move the @BOTTOM@ tag up about 30 lines and all is well with the > world. > > diff -u -d -b -w -r1.6 acconfig.h > --- acconfig.h 2002/12/31 07:59:02 1.6 > +++ acconfig.h 2003/05/28 00:40:24 > @@ -71,6 +71,7 @@ > /* Define if we should use rxposix.h instead of regex.h */ > #undef USE_RX > > +@BOTTOM@ > /* > * Don't step on the namespace. Other libraries may have their own > * implementations of these functions, we don't want to use their > @@ -101,7 +102,7 @@ > #define vsnprintf __db_Cvsnprintf > #endif > > -@BOTTOM@ > + > > /* > * Big-file configuration. > |