bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] Unexpected autoconf substitution in config.h.in


From: Valeriy E. Ushakov
Subject: [Bug-readline] Unexpected autoconf substitution in config.h.in
Date: Fri, 24 Nov 2006 03:54:03 +0300
User-agent: Mutt/1.4.2i

readline-5.2

config.h.in has near very end the following code:

#if defined (STRCOLL_BROKEN)
#  undef HAVE_STRCOLL
#endif

with an obvious intention to pretend that strcoll is not there if we
know it's broken.  Unfortunately autoconf is too smart and treats that
#undef as requiring substitution, so config.h on a system that has
strcoll ends up with:

#if defined (STRCOLL_BROKEN)
#  define HAVE_STRCOLL 1
#endif

which will do the wrong thing is strcoll is indeed broken.

SY, Uwe
-- 
address@hidden                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]