diff --git a/configure b/configure index 7a81d843..facf27bb 100755 --- a/configure +++ b/configure @@ -6286,11 +6286,11 @@ else fi -#if test x"$USE_OBJC_EXCEPTIONS" = x"maybe"; then -# if test x"$MSWIND" = x"yes"; then -# USE_OBJC_EXCEPTIONS=no -# fi -#fi +if test x"$USE_OBJC_EXCEPTIONS" = x"maybe"; then + if test x"$MSWIND" = x"yes"; then + USE_OBJC_EXCEPTIONS=no + fi +fi # Please note that -fobjc-exceptions should automatically enable # -fexceptions. diff --git a/configure.ac b/configure.ac index bc37540d..8c54d1b3 100644 --- a/configure.ac +++ b/configure.ac @@ -1631,11 +1631,11 @@ AC_ARG_ENABLE(native-objc-exceptions, [ USE_OBJC_EXCEPTIONS=$enableval, USE_OBJC_EXCEPTIONS=maybe) -#if test x"$USE_OBJC_EXCEPTIONS" = x"maybe"; then -# if test x"$MSWIND" = x"yes"; then -# USE_OBJC_EXCEPTIONS=no -# fi -#fi +if test x"$USE_OBJC_EXCEPTIONS" = x"maybe"; then + if test x"$MSWIND" = x"yes"; then + USE_OBJC_EXCEPTIONS=no + fi +fi # Please note that -fobjc-exceptions should automatically enable # -fexceptions.