mirror of git://gcc.gnu.org/git/gcc.git
acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix messages.
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com> * acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix messages. * configure: Regenerate. From-SVN: r162580
This commit is contained in:
parent
65e2958885
commit
9b04fa9118
|
@ -1,3 +1,9 @@
|
||||||
|
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
|
* acinclude.m4 ([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS]): Fix
|
||||||
|
messages.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
|
2010-07-27 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* include/ext/vstring_util.h: Include bits/range_access.h.
|
* include/ext/vstring_util.h: Include bits/range_access.h.
|
||||||
|
|
|
@ -1623,32 +1623,27 @@ dnl Compute the EOF, SEEK_CUR, and SEEK_END integer constants.
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS], [
|
AC_DEFUN([GLIBCXX_COMPUTE_STDIO_INTEGER_CONSTANTS], [
|
||||||
|
|
||||||
AC_MSG_CHECKING([For some <stdio.h> integer constants.])
|
AC_CACHE_CHECK([for the value of EOF], glibcxx_cv_stdio_eof, [
|
||||||
|
|
||||||
AC_CACHE_VAL(glibcxx_cv_stdio_eof, [
|
|
||||||
AC_COMPUTE_INT([glibcxx_cv_stdio_eof], [[EOF]],
|
AC_COMPUTE_INT([glibcxx_cv_stdio_eof], [[EOF]],
|
||||||
[#include <stdio.h>],
|
[#include <stdio.h>],
|
||||||
[AC_MSG_ERROR([computing EOF failed])])
|
[AC_MSG_ERROR([computing EOF failed])])
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($glibcxx_cv_stdio_eof)
|
|
||||||
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_EOF, $glibcxx_cv_stdio_eof,
|
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_EOF, $glibcxx_cv_stdio_eof,
|
||||||
[Define to the value of the EOF integer constant.])
|
[Define to the value of the EOF integer constant.])
|
||||||
|
|
||||||
AC_CACHE_VAL(glibcxx_cv_stdio_seek_cur, [
|
AC_CACHE_CHECK([for the value of SEEK_CUR], glibcxx_cv_stdio_seek_cur, [
|
||||||
AC_COMPUTE_INT([glibcxx_cv_stdio_seek_cur], [[SEEK_CUR]],
|
AC_COMPUTE_INT([glibcxx_cv_stdio_seek_cur], [[SEEK_CUR]],
|
||||||
[#include <stdio.h>],
|
[#include <stdio.h>],
|
||||||
[AC_MSG_ERROR([computing SEEK_CUR failed])])
|
[AC_MSG_ERROR([computing SEEK_CUR failed])])
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($glibcxx_cv_stdio_seek_cur)
|
|
||||||
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_SEEK_CUR, $glibcxx_cv_stdio_seek_cur,
|
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_SEEK_CUR, $glibcxx_cv_stdio_seek_cur,
|
||||||
[Define to the value of the SEEK_CUR integer constant.])
|
[Define to the value of the SEEK_CUR integer constant.])
|
||||||
|
|
||||||
AC_CACHE_VAL(glibcxx_cv_stdio_seek_end, [
|
AC_CACHE_CHECK([for the value of SEEK_END], glibcxx_cv_stdio_seek_end, [
|
||||||
AC_COMPUTE_INT([glibcxx_cv_stdio_seek_end], [[SEEK_END]],
|
AC_COMPUTE_INT([glibcxx_cv_stdio_seek_end], [[SEEK_END]],
|
||||||
[#include <stdio.h>],
|
[#include <stdio.h>],
|
||||||
[AC_MSG_ERROR([computing SEEK_END failed])])
|
[AC_MSG_ERROR([computing SEEK_END failed])])
|
||||||
])
|
])
|
||||||
AC_MSG_RESULT($glibcxx_cv_stdio_seek_end)
|
|
||||||
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_SEEK_END, $glibcxx_cv_stdio_seek_end,
|
AC_DEFINE_UNQUOTED(_GLIBCXX_STDIO_SEEK_END, $glibcxx_cv_stdio_seek_end,
|
||||||
[Define to the value of the SEEK_END integer constant.])
|
[Define to the value of the SEEK_END integer constant.])
|
||||||
])
|
])
|
||||||
|
|
|
@ -18679,9 +18679,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
# For the EOF, SEEK_CUR, and SEEK_END integer constants.
|
# For the EOF, SEEK_CUR, and SEEK_END integer constants.
|
||||||
|
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking For some <stdio.h> integer constants." >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
|
||||||
$as_echo_n "checking For some <stdio.h> integer constants.... " >&6; }
|
$as_echo_n "checking for the value of EOF... " >&6; }
|
||||||
|
|
||||||
if test "${glibcxx_cv_stdio_eof+set}" = set; then :
|
if test "${glibcxx_cv_stdio_eof+set}" = set; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
|
@ -18694,7 +18693,6 @@ fi
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
|
||||||
$as_echo "$glibcxx_cv_stdio_eof" >&6; }
|
$as_echo "$glibcxx_cv_stdio_eof" >&6; }
|
||||||
|
|
||||||
|
@ -18703,6 +18701,8 @@ cat >>confdefs.h <<_ACEOF
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
|
||||||
|
$as_echo_n "checking for the value of SEEK_CUR... " >&6; }
|
||||||
if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
|
if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
|
@ -18715,7 +18715,6 @@ fi
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
|
||||||
$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
|
$as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
|
||||||
|
|
||||||
|
@ -18724,6 +18723,8 @@ cat >>confdefs.h <<_ACEOF
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
|
||||||
|
$as_echo_n "checking for the value of SEEK_END... " >&6; }
|
||||||
if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
|
if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
|
@ -18736,7 +18737,6 @@ fi
|
||||||
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
|
||||||
$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
|
$as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue