[Libreoffice-commits] .: configure.in
Thomas Klausner
tklausner at kemper.freedesktop.org
Tue Oct 19 06:23:11 PDT 2010
configure.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 133e92d154985b0f385908155beeb7cbc4b80c3f
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Tue Oct 19 15:22:36 2010 +0200
Only show "checking exception type" message on platforms where it is checked.
diff --git a/configure.in b/configure.in
index 7bd0f65..7aadf7c 100644
--- a/configure.in
+++ b/configure.in
@@ -2413,9 +2413,9 @@ fi
dnl *************************************************************
dnl Testing for exception handling - dwarf2 or sjlj exceptions...
dnl *************************************************************
-AC_MSG_CHECKING([exception type])
-AC_LANG_PUSH([C++])
if test "$WITH_MINGWIN" = "yes"; then
+ AC_MSG_CHECKING([exception type])
+ AC_LANG_PUSH([C++])
AC_TRY_LINK(
[#include <iostream>
@@ -2426,10 +2426,10 @@ extern "C" void _Unwind_SjLj_RaiseException(void) __attribute__ ((__noreturn__))
[exceptions_type="sjlj"],
[exceptions_type="dwarf2"]
)
+ AC_MSG_RESULT($exceptions_type)
+ AC_LANG_POP([C++])
fi
-AC_MSG_RESULT($exceptions_type)
-AC_LANG_POP([C++])
EXCEPTIONS="$exceptions_type"
AC_SUBST(EXCEPTIONS)
More information about the Libreoffice-commits
mailing list