diff options
Diffstat (limited to 'newlib/configure.ac')
-rw-r--r-- | newlib/configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/newlib/configure.ac b/newlib/configure.ac index e1fb2ad0e..d95000db9 100644 --- a/newlib/configure.ac +++ b/newlib/configure.ac @@ -586,9 +586,9 @@ if test "x${iconv_encodings}" != "x" \ dnl Enable appropriate option in newlib.h for encoding in ${iconv_encodings}; do opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) + eval "$opt=1" opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) + eval "$opt=1" done dnl iconv_to_encodings @@ -605,7 +605,7 @@ if test "x${iconv_encodings}" != "x" \ dnl Enable appropriate option in newlib.h for encoding in ${iconv_to_encodings}; do opt=_ICONV_TO_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) + eval "$opt=1" done dnl iconv_from_encodings @@ -622,9 +622,10 @@ if test "x${iconv_encodings}" != "x" \ dnl Enable appropriate option in newlib.h for encoding in ${iconv_from_encodings}; do opt=_ICONV_FROM_ENCODING_`echo "${encoding}" | sed -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - AC_DEFINE_UNQUOTED($opt,1) + eval "$opt=1" done fi; +NEWLIB_ICONV_DEFINES AC_CACHE_CHECK(for .preinit_array/.init_array/.fini_array support, libc_cv_initfinit_array, [dnl |