ICU-5535 Make --disable-tracing the default
X-SVN-Rev: 20750
This commit is contained in:
parent
46328ba2c0
commit
b5244b76b4
@ -218,7 +218,7 @@ Intel can define _M_IX86 or _M_X64
|
||||
|
||||
/* Determine whether to enable tracing. */
|
||||
#ifndef U_ENABLE_TRACING
|
||||
#define U_ENABLE_TRACING 1
|
||||
#define U_ENABLE_TRACING 0
|
||||
#endif
|
||||
|
||||
/* Do we allow ICU users to use the draft APIs by default? */
|
||||
|
11
icu4c/source/configure
vendored
11
icu4c/source/configure
vendored
@ -860,7 +860,7 @@ Optional Features:
|
||||
--enable-release build release libraries default=yes
|
||||
--enable-draft enable draft APIs default=yes
|
||||
--enable-renaming add a version suffix to symbols default=yes
|
||||
--enable-tracing enable function and data tracing default=yes
|
||||
--enable-tracing enable function and data tracing default=no
|
||||
--enable-rpath use rpath when linking default is only if necessary
|
||||
--enable-threads build ICU with thread safety default=yes
|
||||
--enable-extras build ICU extras default=yes
|
||||
@ -3796,7 +3796,7 @@ echo "${ECHO_T}$enabled" >&6
|
||||
echo "$as_me:$LINENO: checking whether to enable function and data tracing" >&5
|
||||
echo $ECHO_N "checking whether to enable function and data tracing... $ECHO_C" >&6
|
||||
enabled=yes
|
||||
U_ENABLE_TRACING=1
|
||||
U_ENABLE_TRACING=0
|
||||
# Check whether --enable-tracing or --disable-tracing was given.
|
||||
if test "${enable_tracing+set}" = set; then
|
||||
enableval="$enable_tracing"
|
||||
@ -7908,10 +7908,9 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
||||
# 1. Remove the extension, and $U if already installed.
|
||||
ac_i=`echo "$ac_i" |
|
||||
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
||||
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
||||
# will be set to the directory where LIBOBJS objects are built.
|
||||
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
||||
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
||||
# 2. Add them.
|
||||
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
||||
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
||||
done
|
||||
LIBOBJS=$ac_libobjs
|
||||
|
||||
|
@ -199,9 +199,9 @@ AC_SUBST(U_DISABLE_RENAMING)
|
||||
|
||||
AC_MSG_CHECKING([whether to enable function and data tracing])
|
||||
enabled=yes
|
||||
U_ENABLE_TRACING=1
|
||||
U_ENABLE_TRACING=0
|
||||
AC_ARG_ENABLE(tracing,
|
||||
[ --enable-tracing enable function and data tracing [default=yes]],
|
||||
[ --enable-tracing enable function and data tracing [default=no]],
|
||||
[ case "${enableval}" in
|
||||
yes|"") enabled=yes ;;
|
||||
no) enabled=no; U_ENABLE_TRACING=0 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user