Re: [Sablevm-developer] $(M4)
Brought to you by:
egagnon
From: Etienne G. <gag...@uq...> - 2004-05-04 03:13:04
|
Hi David, David B=E9langer 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 se= t > 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. Any idea how tom implement these? :-) Etienne --=20 Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |