This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Use AC_COMPUTE_INT for EOF, SEEK_CUR, etc.


On 07/27/2010 12:38 PM, Paolo Carlini wrote:
Hi,

fixed the hack we had in place to avoid including<stdio.h>
unnecessarily thanks to Ralf help.

Tested x86_64-linux, committed to mainline.

Just a nit:


+  AC_MSG_CHECKING([For some <stdio.h> integer constants.])
...
+  AC_MSG_RESULT($glibcxx_cv_stdio_seek_end)

This will show as

checking For some <stdio.h> integer constants. -1
1
2

Please change it so that it looks like either:

checking for some <stdio.h> integer constants... done

or better

checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2

You can do this with AC_CACHE_CHECK, or simply by adding new AC_MSG_CHECKING invocations.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]