Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 263979 | Differences between
and this patch

Collapse All | Expand All

(-)configure.in.orig (-11 / +2 lines)
Lines 3601-3618 Link Here
3601
  AC_MSG_CHECKING(for C++ exceptions flag)
3601
  AC_MSG_CHECKING(for C++ exceptions flag)
3602
3602
3603
  dnl They changed -f[no-]handle-exceptions to -f[no-]exceptions in g++ 2.8
3603
  dnl They changed -f[no-]handle-exceptions to -f[no-]exceptions in g++ 2.8
3604
  dnl No desktop is built with g++ <2.8 nowadays
3604
  AC_CACHE_VAL(ac_cv_cxx_exceptions_flags,
3605
  AC_CACHE_VAL(ac_cv_cxx_exceptions_flags,
3605
  [echo "int main() { return 0; }" | cat > conftest.C
3606
  [ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions])
3606
3607
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1
3608
3609
  if egrep "warning.*renamed" conftest.out >/dev/null; then
3610
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
3611
  else
3612
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-handle-exceptions
3613
  fi
3614
3615
  rm -f conftest*])
3616
3607
3617
  AC_MSG_RESULT($ac_cv_cxx_exceptions_flags)
3608
  AC_MSG_RESULT($ac_cv_cxx_exceptions_flags)
3618
  _MOZ_EXCEPTIONS_FLAGS_OFF=$ac_cv_cxx_exceptions_flags
3609
  _MOZ_EXCEPTIONS_FLAGS_OFF=$ac_cv_cxx_exceptions_flags
(-)configure.orig (-11 / +1 lines)
Lines 11210-11226 Link Here
11210
    if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
11210
    if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then
11211
  echo $ac_n "(cached) $ac_c" 1>&6
11211
  echo $ac_n "(cached) $ac_c" 1>&6
11212
else
11212
else
11213
  echo "int main() { return 0; }" | cat > conftest.C
11213
  ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
11214
11215
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1
11216
11217
  if egrep "warning.*renamed" conftest.out >/dev/null; then
11218
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
11219
  else
11220
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-handle-exceptions
11221
  fi
11222
11223
  rm -f conftest*
11224
fi
11214
fi
11225
11215
11226
11216

Return to bug 263979