|
Lines 1-119
Link Here
|
| 1 |
--- configure.orig 2008-02-15 22:53:06.000000000 +0900 |
|
|
| 2 |
+++ configure 2008-06-10 21:44:37.000000000 +0900 |
| 3 |
@@ -9502,116 +9502,6 @@ |
| 4 |
|
| 5 |
fi |
| 6 |
|
| 7 |
- |
| 8 |
- |
| 9 |
-{ echo "$as_me:$LINENO: checking if the stl throws an exception at memory allocation failure" >&5 |
| 10 |
-echo $ECHO_N "checking if the stl throws an exception at memory allocation failure... $ECHO_C" >&6; } |
| 11 |
-if test "${ac_cv_cxx_exception_on_failed_alloc+set}" = set; then |
| 12 |
- { echo "$as_me:$LINENO: result: (cached) $ac_cv_cxx_exception_on_failed_alloc" >&5 |
| 13 |
-echo "${ECHO_T}(cached) $ac_cv_cxx_exception_on_failed_alloc" >&6; } |
| 14 |
-else |
| 15 |
- if test "$cross_compiling" = yes; then |
| 16 |
- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
| 17 |
-See \`config.log' for more details." >&5 |
| 18 |
-echo "$as_me: error: cannot run test program while cross compiling |
| 19 |
-See \`config.log' for more details." >&2;} |
| 20 |
- { (exit 1); exit 1; }; } |
| 21 |
-else |
| 22 |
- cat >conftest.$ac_ext <<_ACEOF |
| 23 |
-/* confdefs.h. */ |
| 24 |
-_ACEOF |
| 25 |
-cat confdefs.h >>conftest.$ac_ext |
| 26 |
-cat >>conftest.$ac_ext <<_ACEOF |
| 27 |
-/* end confdefs.h. */ |
| 28 |
-#include <string> |
| 29 |
-#include <exception> |
| 30 |
- |
| 31 |
-int main(int argc, char **argv) |
| 32 |
-{ |
| 33 |
- std::string str; |
| 34 |
- |
| 35 |
- str = "a"; |
| 36 |
- while (true) { |
| 37 |
- try { |
| 38 |
- str += str; |
| 39 |
- } |
| 40 |
- catch(...) { |
| 41 |
- return(0); |
| 42 |
- } |
| 43 |
- } |
| 44 |
- return(0); |
| 45 |
-} |
| 46 |
- |
| 47 |
-_ACEOF |
| 48 |
-rm -f conftest$ac_exeext |
| 49 |
-if { (ac_try="$ac_link" |
| 50 |
-case "(($ac_try" in |
| 51 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 52 |
- *) ac_try_echo=$ac_try;; |
| 53 |
-esac |
| 54 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 55 |
- (eval "$ac_link") 2>&5 |
| 56 |
- ac_status=$? |
| 57 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 58 |
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| 59 |
- { (case "(($ac_try" in |
| 60 |
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 61 |
- *) ac_try_echo=$ac_try;; |
| 62 |
-esac |
| 63 |
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
| 64 |
- (eval "$ac_try") 2>&5 |
| 65 |
- ac_status=$? |
| 66 |
- echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 67 |
- (exit $ac_status); }; }; then |
| 68 |
- { echo "$as_me:$LINENO: result: yes" >&5 |
| 69 |
-echo "${ECHO_T}yes" >&6; } |
| 70 |
- ac_cv_cxx_exception_on_failed_alloc=yes |
| 71 |
- |
| 72 |
-else |
| 73 |
- echo "$as_me: program exited with status $ac_status" >&5 |
| 74 |
-echo "$as_me: failed program was:" >&5 |
| 75 |
-sed 's/^/| /' conftest.$ac_ext >&5 |
| 76 |
- |
| 77 |
-( exit $ac_status ) |
| 78 |
-{ echo "$as_me:$LINENO: result: no" >&5 |
| 79 |
-echo "${ECHO_T}no" >&6; } |
| 80 |
- ac_cv_cxx_exception_on_failed_alloc=no |
| 81 |
- |
| 82 |
-fi |
| 83 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 84 |
-fi |
| 85 |
- |
| 86 |
- |
| 87 |
-fi |
| 88 |
-if test $ac_cv_cxx_exception_on_failed_alloc = yes; then |
| 89 |
- |
| 90 |
-cat >>confdefs.h <<\_ACEOF |
| 91 |
-#define HAVE_EXCEPTION_ON_ALLOC_FAILURE 1 |
| 92 |
-_ACEOF |
| 93 |
- |
| 94 |
-else |
| 95 |
- { echo "$as_me:$LINENO: WARNING: |
| 96 |
- |
| 97 |
-*** NOTICE: This implementation of the STL does not throw an exception for |
| 98 |
-memory allocation failure. (This feature is known to be lacking in at least |
| 99 |
-some pre 3.x versions of the gcc compiler suite.) Memory allocation failure |
| 100 |
-should not mean program termination, but without this feature in the STL, the |
| 101 |
-author of this software package cannot guarentee the ability to handle memory |
| 102 |
-allocation failure gracefully. |
| 103 |
- |
| 104 |
- " >&5 |
| 105 |
-echo "$as_me: WARNING: |
| 106 |
- |
| 107 |
-*** NOTICE: This implementation of the STL does not throw an exception for |
| 108 |
-memory allocation failure. (This feature is known to be lacking in at least |
| 109 |
-some pre 3.x versions of the gcc compiler suite.) Memory allocation failure |
| 110 |
-should not mean program termination, but without this feature in the STL, the |
| 111 |
-author of this software package cannot guarentee the ability to handle memory |
| 112 |
-allocation failure gracefully. |
| 113 |
- |
| 114 |
- " >&2;} |
| 115 |
-fi |
| 116 |
- |
| 117 |
# Extract the first word of "rsync", so it can be a program name with args. |
| 118 |
set dummy rsync; ac_word=$2 |
| 119 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 |