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
2005-07-09  Nicholas Wourms  <[EMAIL PROTECTED]>

        * cygwin.din (getline): Add symbol alias to avoid problems with
        autoconf's AC_CHECK_FUNCS macro.
        (getdelim): Likewise.
        * include/sys/stdio.h (getline): Improve clarity by replacing the cpp
        definition with a proper function prototype.
        (getdelim):  Likewise.
        * include/cygwin/version.h: Bump API minor number.

Attachment: getdelim-getline-autoconf-fix.patch
Description: Binary data

Reply via email to