Change the reent verify check option to document disabling it
- also change the handling of default_newlib_reent_check_verify to be the same as other default variables in configure.host - regenerate newlib/configure
This commit is contained in:
		
							
								
								
									
										2
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								newlib/configure
									
									
									
									
										vendored
									
									
								
							| @@ -1464,7 +1464,7 @@ Optional Features: | |||||||
|   --enable-newlib-io-long-long   enable long long type support in IO functions like printf/scanf |   --enable-newlib-io-long-long   enable long long type support in IO functions like printf/scanf | ||||||
|   --enable-newlib-io-long-double   enable long double type support in IO functions printf/scanf |   --enable-newlib-io-long-double   enable long double type support in IO functions printf/scanf | ||||||
|   --enable-newlib-mb        enable multibyte support |   --enable-newlib-mb        enable multibyte support | ||||||
|   --enable-newlib-reent-check-verify        enable checking of _REENT_CHECK memory allocation |   --disable-newlib-reent-check-verify        disable checking of _REENT_CHECK memory allocation | ||||||
|   --enable-newlib-iconv-encodings   enable specific comma-separated list of bidirectional iconv encodings to be built-in |   --enable-newlib-iconv-encodings   enable specific comma-separated list of bidirectional iconv encodings to be built-in | ||||||
|   --enable-newlib-iconv-from-encodings   enable specific comma-separated list of \"from\" iconv encodings to be built-in |   --enable-newlib-iconv-from-encodings   enable specific comma-separated list of \"from\" iconv encodings to be built-in | ||||||
|   --enable-newlib-iconv-to-encodings   enable specific comma-separated list of \"to\" iconv encodings to be built-in |   --enable-newlib-iconv-to-encodings   enable specific comma-separated list of \"to\" iconv encodings to be built-in | ||||||
|   | |||||||
| @@ -970,8 +970,8 @@ fi | |||||||
|  |  | ||||||
| # Enable _REENT_CHECK macro memory allocation verification. | # Enable _REENT_CHECK macro memory allocation verification. | ||||||
| if [ "x${newlib_reent_check_verify}" = "x" ]; then | if [ "x${newlib_reent_check_verify}" = "x" ]; then | ||||||
| 	if [ ${default_newlib_reent_check_verify} = "no" ]; then | 	if [ ${default_newlib_reent_check_verify} = "yes" ]; then | ||||||
| 		newlib_reent_check_verify="no"; | 		newlib_reent_check_verify="yes"; | ||||||
| 	fi | 	fi | ||||||
| fi | fi | ||||||
|  |  | ||||||
|   | |||||||
| @@ -67,9 +67,9 @@ AC_ARG_ENABLE(newlib-mb, | |||||||
|  esac], [newlib_mb=])dnl |  esac], [newlib_mb=])dnl | ||||||
|  |  | ||||||
| dnl Enable verification of successful memory allocation for _REENT_CHECK family of macros | dnl Enable verification of successful memory allocation for _REENT_CHECK family of macros | ||||||
| dnl Support --enable-newlib-reent-check-verify | dnl Support --disable-newlib-reent-check-verify | ||||||
| AC_ARG_ENABLE(newlib-reent-check-verify, | AC_ARG_ENABLE(newlib-reent-check-verify, | ||||||
| [  --enable-newlib-reent-check-verify        enable checking of _REENT_CHECK memory allocation], | [  --disable-newlib-reent-check-verify        disable checking of _REENT_CHECK memory allocation], | ||||||
| [case "${enableval}" in | [case "${enableval}" in | ||||||
|   yes) newlib_reent_check_verify=yes;; |   yes) newlib_reent_check_verify=yes;; | ||||||
|   no)  newlib_reent_check_verify=no ;; |   no)  newlib_reent_check_verify=no ;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user