[patch] rename getline to fix build with autoconf-2.62

Michal Marek mmarek at suse.cz
Mon Aug 4 14:39:14 UTC 2008


Michal Marek wrote:
> Hi,
> 
> autoconf-2.62 changed the AC_AIX and AC_MINIX and other extension macros
> in a way that calling any of them will enable all extensions, including
> _GNU_SOURCE (don't ask me why...). If you regenerate ./configure on a
> linux machine with new autoconf, the build will fail in src/minicom.c
> due to the internal getline() function conflicting with glibc's
> getline() extension. Attached patch fixes that by renaming getline() to
> mc_getline().

Oops, forgot to attach the patch.

Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minicom-rename-getline.patch
Type: text/x-patch
Size: 4471 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20080804/abf2a905/attachment.bin 


More information about the minicom-devel mailing list