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

Adam Lackorzynski adam at os.inf.tu-dresden.de
Tue Aug 5 07:09:19 UTC 2008


Hi,

On Mon Aug 04, 2008 at 11:55:55 +0200, Michal Marek wrote:
> 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().

Makes perfect sense, committed & thanks!


Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/



More information about the minicom-devel mailing list