[PATCH]: Add get{delim,line} symbol alias to avoid autoconf detection failures

Nicholas Wourms nwourms@gmail.com
Sat Jul 9 05:23:00 GMT 2005


Hi Corinna,

I saw that you exported __get{delim,line} in the cygwin dll.  I've had
this modification locally for awhile now.  There are a number of
autoconfiscated applications which check for these functions and use
them if present.  Unfortunately, autoconf's AC_CHECK_FUNCS will not
pickup CPP definitions in headers because the test links to the c
library using a phony prototype.  Thus, in order to facilitate
autoconf, I've added the necessary resource aliases.  I've also taken
the liberty of replacing the CPP definitions with actual function
prototypes for  improved clarity.   The patch for doing these
operations is attached.  I hope you find it satisfactory.

Cheers,
Nicholas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog.txt
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20050709/3372bc44/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getdelim-getline-autoconf-fix.patch
Type: application/octet-stream
Size: 2405 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20050709/3372bc44/attachment.obj>


More information about the Cygwin-patches mailing list