bug-autoconf
[Top][All Lists]
Advanced

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

minor bug on AIX


From: cross
Subject: minor bug on AIX
Date: Tue, 6 Nov 2007 17:13:18 +0400
User-agent: KMail/1.7.2

Hi.
There is a small bug in macro AC_PROG_CC on AIX.
If you use this macro it gives us this output:

:build-aix:root.system 16:00:04 test# cat configure.ac
AC_INIT
AC_PROG_CC
AC_OUTPUT
:build-aix:root.system 15:59:52 test# ./configure
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... -qlanglvl=extc89
configure: creating ./config.status

It don't choose the default -qlanglvl options but force to use "extc89" 
options. 

Even if you use AC_PROC_CC_C99 macro i will recieve next output
:build-aix:root.system 16:02:34 test# ./configure
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... -qlanglvl=extc89
checking for cc -qlanglvl=extc89 option to accept ISO C99... -qlanglvl=extc99
configure: creating ./config.status

As you see it will give you both options(extc89 and extc99).
In atach there is testsuite.log for my platform

Attachment: testsuite.log
Description: Text Data


reply via email to

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