Re: Check for m4

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

 



On Thu, 6 Dec 2007, Kamaljit Singh wrote:

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 ?

The solution is to configure on the host where you will be running 'make'. Create a build directory and configure from outside the source tree to allow doing builds on both Linux and Solaris.

Bob
======================================
Bob Friesenhahn
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux