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 and
> worse, some are mixed. How do I go about that with autoconf? Is there an
> easy way to 'add' a compiler to check for? Or a hard way?
> If somebody could give me some handles to work with, I would be very
> thankful. My searches on the internet have turned up squat, bit might be
> I didn't use the magic combo of keywords.

check out this project:
        http://www.gnu.org/software/autoconf-archive/
it includes a lot of macros like doing compiler/linker checks

if you want to be lazy, there is a $GCC var that autoconf sets up so it's not 
uncommon for packages to do:
        AS_IF([test "$GCC" = "yes"], [dnl
                ...
        ])
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to