[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check for m4

From: Eric Blake
Subject: Re: Check for m4
Date: Thu, 06 Dec 2007 19:11:57 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Hash: SHA1

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 
> environment.
> 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
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]