mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-10255 set flag even on =1 case, add documentation
X-SVN-Rev: 33941
This commit is contained in:
parent
f844fdd2cb
commit
703a9a0056
2 changed files with 20 additions and 2 deletions
11
icu4c/source/configure
vendored
11
icu4c/source/configure
vendored
|
@ -2722,7 +2722,15 @@ _CXX_CXXSUFFIX=cpp
|
|||
export _CXX_CXXSUFFIX
|
||||
|
||||
# Accumulate #defines
|
||||
|
||||
# CONFIG_CPPFLAGS: These are defines that are set for ICU Build time only.
|
||||
# They are only needed for building ICU itself. Example: platform stuff
|
||||
CONFIG_CPPFLAGS=""
|
||||
# UCONFIG_CPPFLAGS: These are defines which are set for ICU build time,
|
||||
# and also a notice is output that they need to be set
|
||||
# for end-users of ICU also. uconfig.h.prepend is generated
|
||||
# with, for example, "#define U_DISABLE_RENAMING 1"
|
||||
# Example: ICU configuration stuff
|
||||
UCONFIG_CPPFLAGS=""
|
||||
|
||||
# Check whether to build debug libraries
|
||||
|
@ -5668,8 +5676,9 @@ then
|
|||
U_HAVE_ATOMIC=1
|
||||
else
|
||||
U_HAVE_ATOMIC=0
|
||||
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_ATOMIC=0"
|
||||
fi
|
||||
# Make this available via CPPFLAGS
|
||||
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_ATOMIC=${U_HAVE_ATOMIC}"
|
||||
|
||||
|
||||
ac_ext=c
|
||||
|
|
|
@ -85,7 +85,15 @@ _CXX_CXXSUFFIX=cpp
|
|||
export _CXX_CXXSUFFIX
|
||||
|
||||
# Accumulate #defines
|
||||
|
||||
# CONFIG_CPPFLAGS: These are defines that are set for ICU Build time only.
|
||||
# They are only needed for building ICU itself. Example: platform stuff
|
||||
CONFIG_CPPFLAGS=""
|
||||
# UCONFIG_CPPFLAGS: These are defines which are set for ICU build time,
|
||||
# and also a notice is output that they need to be set
|
||||
# for end-users of ICU also. uconfig.h.prepend is generated
|
||||
# with, for example, "#define U_DISABLE_RENAMING 1"
|
||||
# Example: ICU configuration stuff
|
||||
UCONFIG_CPPFLAGS=""
|
||||
|
||||
# Check whether to build debug libraries
|
||||
|
@ -475,8 +483,9 @@ then
|
|||
U_HAVE_ATOMIC=1
|
||||
else
|
||||
U_HAVE_ATOMIC=0
|
||||
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_ATOMIC=0"
|
||||
fi
|
||||
# Make this available via CPPFLAGS
|
||||
CONFIG_CPPFLAGS="${CONFIG_CPPFLAGS} -DU_HAVE_ATOMIC=${U_HAVE_ATOMIC}"
|
||||
AC_SUBST(U_HAVE_ATOMIC)
|
||||
|
||||
AC_LANG_POP([C++])
|
||||
|
|
Loading…
Add table
Reference in a new issue