]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/libsigcx/libsigcx0/libsigcx-0.6.4-fix-ac-try-run-swb.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / libsigcx / libsigcx0 / libsigcx-0.6.4-fix-ac-try-run-swb.patch
1 2005-05-06  Steven Brown  <swbrown@ucsd.edu>
2
3         * scripts/macros.m4: Assume the AC_TRY_RUN test of exceptions worked
4         if we were cross compiling (and therefore can't use AC_TRY_RUN).
5
6
7 diff -ruN libsigcx-old/scripts/macros.m4 libsigcx/scripts/macros.m4
8 --- libsigcx-old/scripts/macros.m4      2005-05-06 21:04:44.000000000 -0700
9 +++ libsigcx/scripts/macros.m4  2005-05-06 21:07:40.000000000 -0700
10 @@ -68,6 +68,10 @@
11  AC_MSG_CHECKING([whether the C++ compiler ($CXX $CXXFLAGS) has correct exception handling])
12  AC_CACHE_VAL(ac_cv_cxx_eh,
13  [
14 +if test x"$cross_compiling" = x"yes"; then
15 +  dnl Assume true when cross compiling.
16 +  ac_cv_cxx_eh=yes
17 +else
18  AC_TRY_RUN(
19  [
20  #include <stdexcept>
21 @@ -92,7 +96,7 @@
22  ],
23  ac_cv_cxx_eh=yes,
24  ac_cv_cxx_eh=no)
25 -])
26 +fi])
27  AC_MSG_RESULT([$ac_cv_cxx_eh])
28  if test "x$ac_cv_cxx_eh" = "xyes"
29  then