CVS commit by coolo: * I don't see a reason to include the flags twice * I want to have a way to build testregression at least with --enable-debug CCMAIL: mueller@kde.org M +1 -4 acinclude.m4.in 2.505 --- kde-common/admin/acinclude.m4.in #2.504:2.505 @@ -3250,8 +3250,5 @@ AC_DEFUN([KDE_CHECK_AND_ADD_HIDDEN_VISIBILITY], [ - if test "$GXX" = "yes"; then - KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"]) - KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"]) - KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"]) + if test "$GXX" = "yes" && test "$kde_use_debug_code" = "no"; then KDE_CHECK_COMPILER_FLAG(fvisibility=hidden, [