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

Paolo Bonzini bonzini@gnu.org
Tue Jul 27 16:54:00 GMT 2010


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



More information about the Libstdc++ mailing list