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 (-2 / +2 lines)
Lines 3602-3610 Link Here
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
  AC_CACHE_VAL(ac_cv_cxx_exceptions_flags,
3604
  AC_CACHE_VAL(ac_cv_cxx_exceptions_flags,
3605
  [echo "int main() { return 0; }" | cat > conftest.C
3605
  [echo "int main() { return 0; }" > conftest.C
3606
3606
3607
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1
3607
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C 2> conftest.out
3608
3608
3609
  if egrep "warning.*renamed" conftest.out >/dev/null; then
3609
  if egrep "warning.*renamed" conftest.out >/dev/null; then
3610
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
3610
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
(-)configure.orig (-2 / +2 lines)
Lines 11210-11218 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
  echo "int main() { return 0; }" > conftest.C
11214
11214
11215
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1
11215
  ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C 2> conftest.out
11216
11216
11217
  if egrep "warning.*renamed" conftest.out >/dev/null; then
11217
  if egrep "warning.*renamed" conftest.out >/dev/null; then
11218
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions
11218
    ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions

Return to bug 263979