autoconf
[Top][All Lists]
Advanced

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

C99 support


From: Roger Leigh
Subject: C99 support
Date: Sat, 27 Nov 2004 17:10:24 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are there any tests I can use to specify that I want a C99 compiler?
AC_PROG_CC isn't sufficient.

Would it be possible to introduce a macro to select the C standard
required (K&R, C89, C99)?

Ideally it could just detemine that gcc could accept the "-std=c99"
and was therefore a C99 compiler (or any corresponding option for a
non-GNU compiler).  Alternatively, the standard specifies that c99
must be a conforming C99 compiler, so this could be used as a
fallback.


Regards,
Roger

- -- 
Roger Leigh
                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                Debian GNU/Linux        http://www.debian.org/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBqLT/VcFcaSW/uEgRAi3iAKCEI/Okhy6oYUs8MTw/RCpsEFlcJwCeLrJa
lenluL9b3XgESTuqF+/w33U=
=Xdk2
-----END PGP SIGNATURE-----




reply via email to

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