[Top][All Lists]

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

Re: c99

From: Guido Draheim
Subject: Re: c99
Date: Sat, 13 Oct 2001 11:18:16 +0200

address@hidden wrote:
> 1. How do i request a C99 compiler?  Is there some variation on AC_PROG_CC?

Do never ask for a version declaration, always ask for a feature
you need - that is the basic principle of autoconf. Many features
being declared as C99 were present in the 1994-version of a compiler
too, e.g. { .field: value } was present a long time before in many
many compilers - the C99 just made that official. So the question
goes back to you - what *feature* do you want?

Such a feature test can then be made independent of AC_PROG_CC, well,
it would "exit" when the current `cc` or `gcc` does not have the
feature you want - or do you want a macro that walks through several
installed compilers and chooses the c99-one? Well, that might be
another page in the book, gnu hackers are usually okay with finding
the gcc being usually the most uptodate... which is why AC_PROG_CC
will usually prefer a gcc over vendors'cc when both are there...

> 2. i see a link to "The Official Macro Archive" but it doesn't work.
> Is there a mirror somewhere?

you do not mean a link to but the link to the
GNU Macro Archive at - right?
A downtime of should not happen for long time, but you can
get an extended tarball from my branch at
but I did not bother lately to upload a generated
from my cvs copy, so it is not exactly the same the
named autoconf-archive.tar.gz - I'll schedule to put up a
lookalike for next week, both as a mirror (for you convenience) and
as technical demonstration that the ac-archive build system
includes all features from the gnu ac-archive makefile (which is
the case since the branch happens to exist).

-- guido                            Edel sei der Mensch, hilfreich und gut
GCS/E/S/P C++$++++ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)

reply via email to

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