[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CLASSPATH separator in Makefile.am
From: |
Andreas Buening |
Subject: |
Re: CLASSPATH separator in Makefile.am |
Date: |
Wed, 01 Oct 2003 22:29:11 +0200 |
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