[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check for m4
Re: Check for m4
Thu, 06 Dec 2007 19:11:57 -0700
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:126.96.36.199) Gecko/20071031 Thunderbird/188.8.131.52 Mnenhy/0.7.5.666
-----BEGIN PGP SIGNED MESSAGE-----
According to Kamaljit Singh on 12/6/2007 5:03 PM:
> I have a configure created on linux but run on solaris.
> The configure runs fine but if a Makefile is deemed out of
> date and is redone then auto4mte bails out claiming /usr/bin/m4
> needs to be version 1.4
> Ofcourse there is no /usr/bin/m4 on my system and /usr/local/bin/m4 is
> version 1.4. I can work around by setting M4=/usr/local/bin/m4 in my
> but is there a "better" way using some autoconf macros to get this done ?
When installing the upcoming autoconf 2.62, the configure-time search for
m4 has been improved to search your entire PATH and find the best
candidate, rather than the algorithm in 2.61 of finding only the first m4
and choking if it was insufficient. But m4 1.4 is too old for autoconf
2.62 - you will need GNU m4 1.4.5 or later (the latest is 1.4.10).
Then there is the issue of whether you even need m4 on Solaris. It should
be possible to run autoconf on your Linux box, then use the built files
without corrupting the timestamps when moving the package tarball to
Solaris, so that you do not need to run autom4te on Solaris.
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----