Problem with configure

Richard Moore rich at
Wed Apr 26 15:40:53 UTC 2000

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 :-(


> Michael

More information about the KDevelop mailing list