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 @@ -14600,19 +14600,21 @@ fi
14600
14600
$as_echo " $ac_cv_wchar_t_signed " >&6 ; }
14601
14601
fi
14602
14602
14603
+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking whether wchar_t is usable" >&5
14604
+ $as_echo_n " checking whether wchar_t is usable... " >&6 ; }
14603
14605
# wchar_t is only usable if it maps to an unsigned type
14604
14606
if test " $ac_cv_sizeof_wchar_t " -ge 2 \
14605
14607
-a " $ac_cv_wchar_t_signed " = " no"
14606
14608
then
14607
- HAVE_USABLE_WCHAR_T=" yes"
14608
14609
14609
14610
$as_echo " #define HAVE_USABLE_WCHAR_T 1" >> confdefs.h
14610
14611
14612
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
14613
+ $as_echo " yes" >&6 ; }
14611
14614
else
14612
- HAVE_USABLE_WCHAR_T=" no usable wchar_t found"
14615
+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
14616
+ $as_echo " no" >&6 ; }
14613
14617
fi
14614
- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $HAVE_USABLE_WCHAR_T " >&5
14615
- $as_echo " $HAVE_USABLE_WCHAR_T " >&6 ; }
14616
14618
14617
14619
# check for endianness
14618
14620
{ $as_echo " $as_me :${as_lineno-$LINENO } : checking whether byte ordering is bigendian" >&5
Original file line number Diff line number Diff line change @@ -4555,19 +4555,19 @@ then
4555
4555
AC_MSG_RESULT ( $ac_cv_wchar_t_signed )
4556
4556
fi
4557
4557
4558
+ AC_MSG_CHECKING ( whether wchar_t is usable )
4558
4559
# wchar_t is only usable if it maps to an unsigned type
4559
4560
if test "$ac_cv_sizeof_wchar_t" -ge 2 \
4560
4561
-a "$ac_cv_wchar_t_signed" = "no"
4561
4562
then
4562
- HAVE_USABLE_WCHAR_T="yes"
4563
4563
AC_DEFINE ( HAVE_USABLE_WCHAR_T , 1 ,
4564
4564
[ Define if you have a useable wchar_t type defined in wchar.h; useable
4565
4565
means wchar_t must be an unsigned type with at least 16 bits. (see
4566
4566
Include/unicodeobject.h).] )
4567
+ AC_MSG_RESULT ( yes )
4567
4568
else
4568
- HAVE_USABLE_WCHAR_T="no usable wchar_t found"
4569
+ AC_MSG_RESULT ( no )
4569
4570
fi
4570
- AC_MSG_RESULT ( $HAVE_USABLE_WCHAR_T )
4571
4571
4572
4572
# check for endianness
4573
4573
AC_C_BIGENDIAN
You can’t perform that action at this time.
0 commit comments