-----BEGIN PGP SIGNED MESSAGE----- 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 ebb9@xxxxxxx -----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 iD8DBQFHWKvt84KuGfSFAYARAty+AJ9RvxFNA9zRgxl4zXyXzmWZ3DF6QwCgpjKT ddqdrxqZPDT5glhckOVNZbA= =yNme -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf