Configure for non-gcc compiler

2013-04-18 Thread A.P. Horst
Hi, been trying my way in autotools land for a short while now, and I must say, it works like a charm. But there is one thing I've been breaking my head on for a while now. Many of my projects use GCC, some use a totally different compiler and worse, some are mixed. How do I go about that with

Re: Configure for non-gcc compiler

2013-04-18 Thread Mike Frysinger
On Thursday 18 April 2013 14:06:12 A.P. Horst wrote: > been trying my way in autotools land for a short while now, and I must > say, it works like a charm. > But there is one thing I've been breaking my head on for a while now. > Many of my projects use GCC, some use a totally different compiler an

Re: Configure for non-gcc compiler

2013-04-18 Thread Eric Blake
On 04/18/2013 12:06 PM, A.P. Horst wrote: > Hi, > > been trying my way in autotools land for a short while now, and I must > say, it works like a charm. > But there is one thing I've been breaking my head on for a while now. > Many of my projects use GCC, some use a totally different compiler and

Re: Configure for non-gcc compiler

2013-04-18 Thread Paul Eggert
> worse, some are mixed Autoconf doesn't work very well if you use different C compilers to compile different bits of C code. If the compilers are compatible with each other it'll work, but if not, you could be in trouble. If you have that sort of trouble, my suggestion is to segregate the code b