aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-06-04 18:17:52 +0800
committermbr <mbr@FreeBSD.org>2002-06-04 18:17:52 +0800
commit7f8085fd6d7e19af3c321f10f3c11d76085edb5c (patch)
treed6d50f0ec51ddf11fd78f5fca56831ae887ebf0c /editors/openoffice-1.1-devel
parentddd3241b26be3f10c763eb3c789be8b470ac12d9 (diff)
downloadfreebsd-ports-gnome-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.tar.gz
freebsd-ports-gnome-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.tar.zst
freebsd-ports-gnome-7f8085fd6d7e19af3c321f10f3c11d76085edb5c.zip
Check the exception handling. Needed for the cpp uno code
bridge. I'll import a new bridge for sjlj exceptions on STABLE.
Diffstat (limited to 'editors/openoffice-1.1-devel')
-rw-r--r--editors/openoffice-1.1-devel/files/patch-config_office+configure.in39
1 files changed, 36 insertions, 3 deletions
diff --git a/editors/openoffice-1.1-devel/files/patch-config_office+configure.in b/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
index fecb7f038d50..5c447457cd6a 100644
--- a/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
+++ b/editors/openoffice-1.1-devel/files/patch-config_office+configure.in
@@ -1,5 +1,5 @@
--- configure.in.orig Wed Apr 17 22:37:42 2002
-+++ configure.in Tue May 28 11:44:41 2002
++++ configure.in Tue Jun 4 12:09:37 2002
@@ -103,6 +103,12 @@
Usage: --with-asm-home=<path to ml.exe directory>
@@ -139,7 +139,34 @@
if test "$_os" = "Darwin"; then
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
-@@ -815,6 +887,10 @@
+@@ -589,6 +661,26 @@
+ fi
+ fi
+
++dnl *************************************************************
++dnl Testing for exception handling - dwarf2 or sjlj exceptions...
++dnl *************************************************************
++AC_MSG_CHECKING([try to compile exception code])
++AC_LANG_SAVE
++AC_LANG_CPLUSPLUS
++AC_CACHE_VAL(exceptions_type, [AC_TRY_COMPILE(
++ [#include <iostream>
++
++extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
++
++ ],
++ [__sjthrow() ],
++ [exceptions_type="sjlj"],
++ [exceptions_type="dwarf2"])
++])
++
++AC_MSG_RESULT(Exceptions type: $exceptions_type)
++AC_LANG_RESTORE
++
+ dnl **************************************************************
+ dnl Testing for required Solaris and workshop compiler patches...
+ dnl **************************************************************
+@@ -815,6 +907,10 @@
fi
if test "$_os" = "FreeBSD" -o "$_os" = "NetBSD"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
@@ -150,7 +177,13 @@
fi
if test "$_os" = "Linux" -a "$_machine_type" = "sparc"; then
_jdk_middle=`echo $_jdk | $AWK -F. '{ if ($2 != 2) print "false"; else print "true" }'`
-@@ -1201,7 +1277,7 @@
+@@ -1196,12 +1292,13 @@
+ echo "\$MINGWIN32="$WITH_MINGWIN
+ echo "\$with_use_shell="$with_use_shell
+ echo "\$USE_GCC3="$USE_GCC3
++echo "\$EXCEPTIONS="$exceptions_type
+ echo
+ fi
# Executing the set_soenv script to setup the environment variables.
if test -z "$enable_check_only"; then