ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 7726
This commit is contained in:
George Rhoten 2002-02-20 22:28:44 +00:00
parent c2a7393ab9
commit 28778dc33f
4 changed files with 216 additions and 156 deletions

View File

@ -96,7 +96,10 @@
#endif
/* Define the library suffix in a C syntax. */
#define U_HAVE_ICU_LIBRARY_SUFFIX_C_NAME @U_HAVE_ICULIBSUFFIXCNAME@
#if U_HAVE_ICU_LIBRARY_SUFFIX_C_NAME
#define U_ICU_LIBRARY_SUFFIX_C_NAME @ICULIBSUFFIXCNAME@
#endif
/*===========================================================================*/
/* Platform/Language determination */

View File

@ -148,7 +148,7 @@
* The net result will be something of the form
* #define U_ICU_ENTRY_POINT icudt19_dat
*/
#ifdef U_ICU_LIBRARY_SUFFIX_C_NAME
#if U_HAVE_ICU_LIBRARY_SUFFIX_C_NAME
#define U_ICUDATA_ENTRY_POINT U_DEF2_ICUDATA_ENTRY_POINT(U_ICU_VERSION_MAJOR_NUM, U_ICU_VERSION_MINOR_NUM, U_ICU_LIBRARY_SUFFIX_C_NAME)
#define U_DEF2_ICUDATA_ENTRY_POINT(major, minor, suffix) U_DEF_ICUDATA_ENTRY_POINT(major, minor, suffix)
#define U_DEF_ICUDATA_ENTRY_POINT(major, minor, suffix) icudt##major##minor##suffix##_dat

355
icu4c/source/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@ dnl Copyright (c) 1999-2000, International Business Machines Corporation and
dnl others. All Rights Reserved.
dnl Stephen F. Booth, heavily modified by Yves and others
dnl $Id: configure.in,v 1.155 2002/02/14 19:51:22 yves-oss Exp $
dnl $Id: configure.in,v 1.156 2002/02/20 22:28:44 grhoten-oss Exp $
dnl Process this file with autoconf to produce a configure script
AC_INIT(common/unicode/utypes.h)
@ -546,9 +546,8 @@ AC_CHECK_TYPE(int16_t,signed short)
AC_CHECK_TYPE(uint16_t,unsigned short)
AC_CHECK_TYPE(int32_t,signed long)
AC_CHECK_TYPE(uint32_t,unsigned long)
dnl Not sure if this is a good idea to have in ICU
AC_CHECK_TYPE(int64_t,signed long)
AC_CHECK_TYPE(uint64_t,unsigned long)
AC_CHECK_TYPE(int64_t,signed long long)
AC_CHECK_TYPE(uint64_t,unsigned long long)
if test $ac_cv_type_int8_t = no; then
HAVE_INT8_T=0
@ -767,8 +766,10 @@ AC_ARG_WITH(library-suffix,
[ICULIBSUFFIX="${withval}"],
[ICULIBSUFFIX=])
msg=$ICULIBSUFFIX
if test x"$msg" = x; then
U_HAVE_ICULIBSUFFIXCNAME=1
if test "$msg" = ""; then
msg=none
U_HAVE_ICULIBSUFFIXCNAME=0
fi
AC_MSG_RESULT($msg)
AC_SUBST(ICULIBSUFFIX)
@ -778,6 +779,7 @@ then
ICULIBSUFFIXCNAME=`echo _$ICULIBSUFFIX | sed 's/[^A-Za-z0-9_]/_/g'`
fi
changequote([, ])dnl
AC_SUBST(U_HAVE_ICULIBSUFFIXCNAME)
AC_SUBST(ICULIBSUFFIXCNAME)
dnl Enable/disable tests