From bb2ce2ca2af05e0dfce02423913112d43ec39c17 Mon Sep 17 00:00:00 2001 From: Yves Arrouye Date: Mon, 10 Apr 2000 22:38:53 +0000 Subject: [PATCH] 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 --- icu4c/source/aclocal.m4 | 12 ++++++------ icu4c/source/configure | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/icu4c/source/aclocal.m4 b/icu4c/source/aclocal.m4 index c01985654e4..2c776b3a5b6 100644 --- a/icu4c/source/aclocal.m4 +++ b/icu4c/source/aclocal.m4 @@ -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 diff --git a/icu4c/source/configure b/icu4c/source/configure index 28ed266a205..79761ec5eb5 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -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