This commit is contained in:
hyung-hwan 2008-07-21 07:03:27 +00:00
parent 292e0dd436
commit d42d8eccf5
2 changed files with 2 additions and 6 deletions

4
ase/configure vendored
View File

@ -26647,14 +26647,12 @@ fi
"${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no "${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no
if test "$enable_wchar_is" = "yes" if test "$enable_wchar_is" = "yes"
then then
CHAR_TYPE="wide character"
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define ASE_CHAR_IS_WCHAR #define ASE_CHAR_IS_WCHAR
_ACEOF _ACEOF
else else
CHAR_TYPE="multibyte character"
cat >>confdefs.h <<\_ACEOF cat >>confdefs.h <<\_ACEOF
#define ASE_CHAR_IS_MCHAR #define ASE_CHAR_IS_MCHAR
@ -28354,7 +28352,7 @@ echo " Installation directory: ${prefix}"
echo " C compiler: ${CC} ${CFLAGS}" echo " C compiler: ${CC} ${CFLAGS}"
echo " C++ compiler: ${CXX} ${CXXFLAGS}" echo " C++ compiler: ${CXX} ${CXXFLAGS}"
echo " C++ support: ${enable_cxx_is}" echo " C++ support: ${enable_cxx_is}"
echo " Character type: ${CHAR_TYPE}" echo " Wide character: ${enable_wchar_is}"
echo " Math library: ${LIBM}" echo " Math library: ${LIBM}"
echo "-------------------------------------------------------------------------" echo "-------------------------------------------------------------------------"

View File

@ -126,10 +126,8 @@ AC_ARG_ENABLE([wchar], [AC_HELP_STRING([--enable-wchar],
[ "${ac_cv_sizeof_wchar_t}" = "0" ] && enable_wchar_is=no [ "${ac_cv_sizeof_wchar_t}" = "0" ] && enable_wchar_is=no
if test "$enable_wchar_is" = "yes" if test "$enable_wchar_is" = "yes"
then then
CHAR_TYPE="wide character"
AC_DEFINE([ASE_CHAR_IS_WCHAR],[],[char is wchar]) AC_DEFINE([ASE_CHAR_IS_WCHAR],[],[char is wchar])
else else
CHAR_TYPE="multibyte character"
AC_DEFINE([ASE_CHAR_IS_MCHAR],[],[char is mchar]) AC_DEFINE([ASE_CHAR_IS_MCHAR],[],[char is mchar])
fi fi
@ -301,7 +299,7 @@ echo " Installation directory: ${prefix}"
echo " C compiler: ${CC} ${CFLAGS}" echo " C compiler: ${CC} ${CFLAGS}"
echo " C++ compiler: ${CXX} ${CXXFLAGS}" echo " C++ compiler: ${CXX} ${CXXFLAGS}"
echo " C++ support: ${enable_cxx_is}" echo " C++ support: ${enable_cxx_is}"
echo " Character type: ${CHAR_TYPE}" echo " Wide character: ${enable_wchar_is}"
echo " Math library: ${LIBM}" echo " Math library: ${LIBM}"
echo "-------------------------------------------------------------------------" echo "-------------------------------------------------------------------------"
] ]