Re: All time favorite: strcasecmp

Holger Veit <[email protected]> Thu, 30 Jan 2003 12:15:43 +0100
Newsgroups gmane.comp.ide.emx.devel
Message-ID <[email protected]>
On Thu, Jan 30, 2003 at 10:15:45AM +0000, csaba.raduly-j34lQMj1tz/[email protected] wrote:
> 
> On 29/01/2003 18:31:08 emx-admin wrote:
> 
> >Hi!
> >
> >Why not just define somewhere in emx header #define strcasecmp(a, b)
> >stricmp((a), (b)) right now?
> >
> 
> Because you cannot guarantee that everybody will change their
> EMX headers. Then it'll work for you (and me), but it won't work
> for others.

That is then *their* problem, provided you demand that people
have to obtain some kind of "EMX 0.9c + externalpath-X.Y.Z".

> strcasecmp is not present in every standard library. Programs
> that use it must be prepared to make do if it's not available.
> That's what ./configure is supposed to find out and set.

./configure as it is is garbage when the people who write
the software then afterwards ignore any HAS_SOMETHING hints 
in the generated "config.h" - because it usually works under
Linux.

Holger

-- 
Please update your tables to my new e-mail address: 
holger.veit$ais.fhg.de  (replace the '$' with '@'  -- spam-protection)