[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    Re: Problem with configure
From:       Richard Moore <rich () kde ! org>
Date:       2000-04-26 15:40:53
[Download RAW message or body]

Michael Mueller wrote:
> 
> Richard Moore wrote:
> 
> > You could try something like: -DSOMEPATH='"/foo/bar"'
> >
> > Rich.
> 
> I tried this already, it doesn't work. configure calls gcc with
> -DSOMEPATH='"/foo/bar"' (which works only because SOMEPATH is not used in the
> test program used by configure, if it would be used in a context where a string
> constant is expected I would get an error "character constant too large) but
> make calls gcc with -DSOMEPATH=/foo/bar, i.e., the double quotes get lost some
> where.

Well, there's always the hacky solution:

echo  '#define SOMEPATH "/foo/bar"' >> config.h

But it sucks :-(

Rich.

> 
> Michael

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic