mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-348 disable strict compilation by default; renamed yc_* variables to
ac_* (yc stands for Yves's config, not a good idea here). X-SVN-Rev: 1103
This commit is contained in:
parent
4de68d7b06
commit
bb2ce2ca2a
2 changed files with 12 additions and 12 deletions
12
icu4c/source/aclocal.m4
vendored
12
icu4c/source/aclocal.m4
vendored
|
@ -76,17 +76,17 @@ dnl Strict compilation options.
|
|||
AC_DEFUN(AC_CHECK_STRICT_COMPILE,
|
||||
[
|
||||
AC_MSG_CHECKING([whether strict compiling is on])
|
||||
AC_ARG_ENABLE(strict,[ --enable-strict compile with strict compiler options [default=yes]], [
|
||||
AC_ARG_ENABLE(strict,[ --enable-strict compile with strict compiler options [default=no]], [
|
||||
if test "$enableval" = no
|
||||
then
|
||||
yc_use_strict_options=no
|
||||
ac_use_strict_options=no
|
||||
else
|
||||
yc_use_strict_options=yes
|
||||
ac_use_strict_options=yes
|
||||
fi
|
||||
], [yc_use_strict_options=yes])
|
||||
AC_MSG_RESULT($yc_use_strict_options)
|
||||
], [ac_use_strict_options=yes])
|
||||
AC_MSG_RESULT($ac_use_strict_options)
|
||||
|
||||
if test "$yc_use_strict_options" = yes
|
||||
if test "$ac_use_strict_options" = yes
|
||||
then
|
||||
if test "$GCC" = yes
|
||||
then
|
||||
|
|
12
icu4c/source/configure
vendored
12
icu4c/source/configure
vendored
|
@ -12,7 +12,7 @@ ac_help=
|
|||
ac_default_prefix=/usr/local
|
||||
# Any additions from configure.in:
|
||||
ac_help="$ac_help
|
||||
--enable-strict compile with strict compiler options [default=yes]"
|
||||
--enable-strict compile with strict compiler options [default=no]"
|
||||
ac_help="$ac_help
|
||||
--enable-hpuxcma build ICU with HPUX CMA threads (only ver>=11) [default=no]"
|
||||
ac_help="$ac_help
|
||||
|
@ -1066,18 +1066,18 @@ if test "${enable_strict+set}" = set; then
|
|||
|
||||
if test "$enableval" = no
|
||||
then
|
||||
yc_use_strict_options=no
|
||||
ac_use_strict_options=no
|
||||
else
|
||||
yc_use_strict_options=yes
|
||||
ac_use_strict_options=yes
|
||||
fi
|
||||
|
||||
else
|
||||
yc_use_strict_options=yes
|
||||
ac_use_strict_options=yes
|
||||
fi
|
||||
|
||||
echo "$ac_t""$yc_use_strict_options" 1>&6
|
||||
echo "$ac_t""$ac_use_strict_options" 1>&6
|
||||
|
||||
if test "$yc_use_strict_options" = yes
|
||||
if test "$ac_use_strict_options" = yes
|
||||
then
|
||||
if test "$GCC" = yes
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue