diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 19:57:24 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-29 19:57:24 +0000 |
commit | db27024be83a18cee34e791acbc1020338274df5 (patch) | |
tree | 26b3aed8cf62cb5da657955ba954674ee5423bfe /libstdc++-v3/configure | |
parent | 625b8e97f6f97078299969fab004d540a021716a (diff) | |
download | gcc-db27024be83a18cee34e791acbc1020338274df5.tar.gz |
* configure: Regenerated.
* config.h.in: Regenerated.
* acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR) Add
checks for ECHILD, ENOSPC, EPERM, ETIMEDOUT, and
EWOULDBLOCK.
* config/os/mingw32/error_constants.h (errc): Add
enumerator values no_child_process, no_space_on_device,
not_supported, operation_not_permitted, operation_would_block,
timed_out, and value_too_large,
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index dab2637f24f..c160bd99c11 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -17771,6 +17771,171 @@ if test x"$glibcxx_cv_system_error14" = x"yes"; then $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5 +$as_echo_n "checking for ECHILD... " >&6; } +if test "${glibcxx_cv_system_error15+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <errno.h> +int +main () +{ +int i = ECHILD; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_system_error15=yes +else + glibcxx_cv_system_error15=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5 +$as_echo "$glibcxx_cv_system_error15" >&6; } +if test x"$glibcxx_cv_system_error15" = x"yes"; then + +$as_echo "#define HAVE_ECHILD 1" >>confdefs.h + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5 +$as_echo_n "checking for ENOSPC... " >&6; } +if test "${glibcxx_cv_system_error16+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <errno.h> +int +main () +{ +int i = ENOSPC; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_system_error16=yes +else + glibcxx_cv_system_error16=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5 +$as_echo "$glibcxx_cv_system_error16" >&6; } +if test x"$glibcxx_cv_system_error16" = x"yes"; then + +$as_echo "#define HAVE_ENOSPC 1" >>confdefs.h + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5 +$as_echo_n "checking for EPERM... " >&6; } +if test "${glibcxx_cv_system_error17+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <errno.h> +int +main () +{ +int i = EPERM; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_system_error17=yes +else + glibcxx_cv_system_error17=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5 +$as_echo "$glibcxx_cv_system_error17" >&6; } +if test x"$glibcxx_cv_system_error17" = x"yes"; then + +$as_echo "#define HAVE_EPERM 1" >>confdefs.h + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5 +$as_echo_n "checking for ETIMEDOUT... " >&6; } +if test "${glibcxx_cv_system_error18+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <errno.h> +int +main () +{ +int i = ETIMEDOUT; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_system_error18=yes +else + glibcxx_cv_system_error18=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5 +$as_echo "$glibcxx_cv_system_error18" >&6; } +if test x"$glibcxx_cv_system_error18" = x"yes"; then + +$as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5 +$as_echo_n "checking for EWOULDBLOCK... " >&6; } +if test "${glibcxx_cv_system_error19+set}" = set; then : + $as_echo_n "(cached) " >&6 +else + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <errno.h> +int +main () +{ +int i = EWOULDBLOCK; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_system_error19=yes +else + glibcxx_cv_system_error19=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5 +$as_echo "$glibcxx_cv_system_error19" >&6; } +if test x"$glibcxx_cv_system_error19" = x"yes"; then + +$as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h + +fi |