summaryrefslogtreecommitdiff
path: root/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch')
-rw-r--r--packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch b/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
index e69de29bb2..66d6353777 100644
--- a/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
+++ b/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
@@ -0,0 +1,29 @@
+2005-05-06 Steven Brown <swbrown@ucsd.edu>
+
+ * scripts/macros.m4: Assume the AC_TRY_RUN test of exceptions worked
+ if we were cross compiling (and therefore can't use AC_TRY_RUN).
+
+
+diff -ruN libsigcx-old/scripts/macros.m4 libsigcx/scripts/macros.m4
+--- libsigcx-old/scripts/macros.m4 2005-05-06 21:04:44.000000000 -0700
++++ libsigcx/scripts/macros.m4 2005-05-06 21:07:40.000000000 -0700
+@@ -68,6 +68,10 @@
+ AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS) has correct exception handling])
+ AC_CACHE_VAL(ac_cv_cxx_eh,
+ [
++if test x"$cross_compiling" = x"yes"; then
++ dnl Assume true when cross compiling.
++ ac_cv_cxx_eh=yes
++else
+ AC_TRY_RUN(
+ [
+ #include <stdexcept>
+@@ -92,7 +96,7 @@
+ ],
+ ac_cv_cxx_eh=yes,
+ ac_cv_cxx_eh=no)
+-])
++fi])
+ AC_MSG_RESULT([$ac_cv_cxx_eh])
+ if test "x$ac_cv_cxx_eh" = "xyes"
+ then