bug-autoconf
[Top][All Lists]
Advanced

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

bug: "gcc -std=gnu99" passes AC_PROG_CC_C11


From: Adrian Bunk
Subject: bug: "gcc -std=gnu99" passes AC_PROG_CC_C11
Date: Thu, 20 Sep 2012 12:10:15 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

<--  snip  -->

$ autoconf --version
autoconf (GNU Autoconf) 2.69.22-787a
...
$ gcc --version
gcc (Debian 4.7.1-9) 4.7.1
...
$ cat configure.ac
AC_INIT

AC_PROG_CC_C99
AC_PROG_CC_C11
$ ./configure 
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO C11... none needed
$ 

<--  snip  -->


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed




reply via email to

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