Re: CLASSPATH separator in Makefile.am

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

 



David Neary wrote:

> gnu/%.class: @srcdir@/src/gnu/%.java
>         @JAVAC@ @JAVACFLAGS@ \
>                 -d . \
>                 -classpath "${CLASSPATH}:@srcdir@/src:." \
>                 @srcdir@/src/gnu/xml/libxmlj/transform/*.java
> 
> This is fine on Unix, but obviously doesn't go down well on Win32. Modifying
> the :s to ;s explicitly in the Makefile.am gets it through the Windows
> build, which is fine. But is there a way to have an AC_SEPARATOR defined
> which "converts" stuff like this to the correct format for the target
> platform at the configure stage? It would be nice not to have to manually
> edit makefiles and configure scripts in Win32.

Newer versions of autoconf/automake should define PATH_SEPARATOR to ':' or
';' in your Makefile.


Bye,
Andreas



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux