File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -14682,19 +14682,21 @@ fi
14682
14682
$as_echo " $ac_cv_wchar_t_signed " >&6 ; }
14683
14683
fi
14684
14684
14685
+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking whether wchar_t is usable" >&5
14686
+ $as_echo_n " checking whether wchar_t is usable... " >&6 ; }
14685
14687
# wchar_t is only usable if it maps to an unsigned type
14686
14688
if test " $ac_cv_sizeof_wchar_t " -ge 2 \
14687
14689
-a " $ac_cv_wchar_t_signed " = " no"
14688
14690
then
14689
- HAVE_USABLE_WCHAR_T=" yes"
14690
14691
14691
14692
$as_echo " #define HAVE_USABLE_WCHAR_T 1" >> confdefs.h
14692
14693
14694
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
14695
+ $as_echo " yes" >&6 ; }
14693
14696
else
14694
- HAVE_USABLE_WCHAR_T=" no usable wchar_t found"
14697
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
14698
+ $as_echo " no" >&6 ; }
14695
14699
fi
14696
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $HAVE_USABLE_WCHAR_T " >&5
14697
- $as_echo " $HAVE_USABLE_WCHAR_T " >&6 ; }
14698
14700
14699
14701
# check for endianness
14700
14702
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking whether byte ordering is bigendian" >&5
Original file line number Diff line number Diff line change @@ -4621,19 +4621,19 @@ then
4621
4621
AC_MSG_RESULT ( $ac_cv_wchar_t_signed )
4622
4622
fi
4623
4623
4624
+ AC_MSG_CHECKING ( whether wchar_t is usable )
4624
4625
# wchar_t is only usable if it maps to an unsigned type
4625
4626
if test "$ac_cv_sizeof_wchar_t" -ge 2 \
4626
4627
-a "$ac_cv_wchar_t_signed" = "no"
4627
4628
then
4628
- HAVE_USABLE_WCHAR_T="yes"
4629
4629
AC_DEFINE ( HAVE_USABLE_WCHAR_T , 1 ,
4630
4630
[ Define if you have a useable wchar_t type defined in wchar.h; useable
4631
4631
means wchar_t must be an unsigned type with at least 16 bits. (see
4632
4632
Include/unicodeobject.h).] )
4633
+ AC_MSG_RESULT ( yes )
4633
4634
else
4634
- HAVE_USABLE_WCHAR_T="no usable wchar_t found"
4635
+ AC_MSG_RESULT ( no )
4635
4636
fi
4636
- AC_MSG_RESULT ( $HAVE_USABLE_WCHAR_T )
4637
4637
4638
4638
# check for endianness
4639
4639
AC_C_BIGENDIAN
You can’t perform that action at this time.
0 commit comments