[Xapian-discuss] binding JAVA, rushing!
James Aylett
james-xapian at tartarus.org
Wed Apr 4 12:52:38 BST 2007
On Wed, Apr 04, 2007 at 06:05:54AM +0100, Olly Betts wrote:
> > Please keep replies on-list, so more people can help you :)
>
> Indeed.
>
> > JAVA_CPPFLAGS='-I/cygdrive/c/Program\ Files/....'
>
> You don't want to backslash-escape the space if you use single (or
> double) quotes:
>
> $ JAVA_CPPFLAGS='-I/cygdrive/c/Program\ Files/....'
> $ echo $JAVA_CPPFLAGS
> -I/cygdrive/c/Program\ Files/....
> $ JAVA_CPPFLAGS="-I/cygdrive/c/Program\ Files/...."
> $ echo $JAVA_CPPFLAGS
> -I/cygdrive/c/Program\ Files/....
I precisely wanted the backslash in there, because variable usage
inside configure isn't enquoted, so it's a hack to get the quoting of
the space through... which proably wouldn't work, of course.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list