]>
Commit | Line | Data |
---|---|---|
10889001 | 1 | --- anteater-0.4.5/configure.in~ 2003-11-04 11:13:52.000000000 +0100 |
2 | +++ anteater-0.4.5/configure.in 2010-09-21 15:37:11.000000000 +0200 | |
3 | @@ -54,7 +54,7 @@ | |
4 | dnl ------------------------------------------------------------------------- | |
5 | AC_MSG_CHECKING(for namespace support) | |
6 | AC_TRY_RUN([namespace testns{int givemenull(void){return 0;}} | |
7 | -int main(){exit(testns::givemenull());}] | |
8 | +int main(){return testns::givemenull();}] | |
9 | ,AC_MSG_RESULT(yes),AC_MSG_RESULT(no) | |
10 | AC_MSG_ERROR([Namespaces are required to compile this package. | |
11 | Please update your compiler. In the most cases this is not very difficult. | |
12 | --- anteater-0.4.5/configure.in~ 2010-09-21 15:38:43.000000000 +0200 | |
13 | +++ anteater-0.4.5/configure.in 2010-09-21 15:39:47.000000000 +0200 | |
14 | @@ -64,7 +64,7 @@ | |
15 | AC_MSG_CHECKING(for pointer to classmembers) | |
16 | AC_TRY_RUN([class ctest{public:int run(void){return 0;};}; | |
17 | int main(){int(ctest::*cmp)(void); | |
18 | -cmp=&ctest::run;ctest ni;exit((ni.*cmp)());}],AC_MSG_RESULT(yes),AC_MSG_RESULT(no) | |
19 | +cmp=&ctest::run;ctest ni;return (ni.*cmp)();}],AC_MSG_RESULT(yes),AC_MSG_RESULT(no) | |
20 | AC_MSG_ERROR([Pointer to classmembers are required to compile this package. | |
21 | Please update your compiler. In the most cases this is not very difficult. | |
22 | Have a look at the README file in this distribution.]),AC_MSG_WARN( |