C99 support

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

 



-----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-----


_______________________________________________
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