diff options
Diffstat (limited to 'newlib/configure')
-rwxr-xr-x | newlib/configure | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/newlib/configure b/newlib/configure index 60cbc1fa8..aa12fdce0 100755 --- a/newlib/configure +++ b/newlib/configure @@ -2373,12 +2373,11 @@ if test "${enable_newlib_global_atexit+set}" = set; then : enableval=$enable_newlib_global_atexit; if test "${newlib_global_atexit+set}" != set; then case "${enableval}" in yes) newlib_global_atexit=yes ;; - no) newlib_global_atexit=no ;; *) as_fn_error $? "bad value ${enableval} for newlib-global-atexit option" "$LINENO" 5 ;; esac fi else - newlib_global_atexit=no + newlib_global_atexit=yes fi # Check whether --enable-newlib-reent-small was given. @@ -6484,12 +6483,6 @@ $as_echo "#define _ATEXIT_DYNAMIC_ALLOC 1" >>confdefs.h fi -if test "${newlib_global_atexit}" = "yes"; then - -$as_echo "#define _REENT_GLOBAL_ATEXIT 1" >>confdefs.h - -fi - if test "${newlib_fvwrite_in_streamio}" = "yes"; then $as_echo "#define _FVWRITE_IN_STREAMIO 1" >>confdefs.h |