David Neary <David@xxxxxxxxx> writes: > Hi, > > I'm not quite sure whose job this is (automake or autoconf - I suspect the > latter), so I'm sending this to both lists. Hope this doesn't upset anyone > :) > > I have a java project which, among other things, recuperates the CLASSPATH > environment variable, and adds some stuff to it in the Makefile. I have a > Makefile.am target which looks like this... > > 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. I think the Makefile.am author simply has to use a variable to specify the separator. The variable can easily be OS dependant. The fact that it doesn't do it in this project is an ommission. Nic Ferrier