Re: [Sablevm-developer] $(M4)
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-05-07 07:27:06
|
On (03/05/04 22:08), Etienne Gagnon wrote: > Hi David, > > David B?langer wrote: > >I don't know how it is on OpenBSD but with FreeBSD, I have to use > >gm4. > > It's the same. > > >In configure.ac in my sandbox, I have this line: > >AC_CHECK_PROGS([M4],[gm4 m4],[none],[$PATH]) > >It does not check the GNUness of the m4 program but it will used gm4 if > >found, otherwise check for m4. If neither gm4 nor m4 is found, will set > >M4 to none. I guess ideally would need some if stmt for the none case. > > We need 2 things: > > 1- Check for GNU M4's name and set $(M4) to it. If it's not found, > configure should fail. I guess, configure should also be able > to accept a pre-set $(M4) environment variable as override. > > 2- Do something similar with "-lrt", which is giving me a hell of a > time. Configure should figure by itself whether it is needed or > not. I've just commited this into "staging": * -lrt only for Solaris, * -lpthread not for Darwin (-lc_r instead), * try $M4, gm4 and m4, issue warning if -P doesn't work, * -no-undefined for Cygwin/MinGW (but we still need to fix classpath) To Etienne and David: could you please try these on *BSD and Darwin and tune the settings if needed? HTH GBP PS: I also noticed that InliningException disappeared somehow from sablevm-classpath, not sure why. -- Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |