[Top][All Lists]

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

Re: Troubles with conditional adding files to library

From: Jan Engelhardt
Subject: Re: Troubles with conditional adding files to library
Date: Fri, 27 Mar 2009 11:05:53 +0100 (CET)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

On Friday 2009-03-27 03:26, Russ Allbery wrote:
>> In I added the lines:
>>     libproject_la_sources += strcasecmp.c strncasecmp.c
>You need an endif here, which may also be part of the problem with the
>errors you're seeing.
>Taking yet another step back, do you have a target system in mind that
>doesn't have strcasecmp?  It's required by POSIX and is usually in the set
>of things that aren't worth bothering checking for unless you're porting
>to Windows (which particularly for shared libraries involves quite a bit
>of work that Automake can't entirely help with).

strcasecmp is a rather simple thing...

#ifdef _WIN32
#       define strcasecmp stricmp

reply via email to

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