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 |