]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/monotone/files/configure.ac.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / monotone / files / configure.ac.patch
1 --- monotone-0.21/configure.ac.orig     2005-07-17 19:23:29.580829434 -0700
2 +++ monotone-0.21/configure.ac  2005-07-17 19:28:50.237223287 -0700
3 @@ -82,9 +82,14 @@
4  AC_DEFUN([BOOST_VERSION_CHECK],
5  [AC_CACHE_CHECK([boost version 1.32 or newer], ac_cv_version_boost,
6  [
7 -  AC_TRY_RUN(
8 +  AC_TRY_COMPILE(
9    [#include <boost/version.hpp>
10 -  int main() { return (BOOST_VERSION < 103200); }],
11 +  #if BOOST_VERSION < 103200
12 +  int main() { return (BOOST_VERSION < 103200); }
13 +  #else
14 +  #error boost version is ok
15 +  #endif
16 +  ],
17    ac_cv_version_boost=yes,
18    ac_cv_version_boost=no)
19  ])
20 @@ -101,9 +106,14 @@
21  AC_DEFUN([BOOST_FIX_VERSION],
22  [AC_CACHE_CHECK([if boost requires extra flags to compile], ac_fix_boost,
23  [
24 -  AC_TRY_RUN(
25 +  AC_TRY_COMPILE(
26    [#include <boost/version.hpp>
27 -  int main() { return (BOOST_VERSION != 103200); }],
28 +  #if BOOST_VERSION != 103200
29 +  int main() { return (BOOST_VERSION != 103200); }
30 +  #else
31 +  #error boost version is not 1.32.0
32 +  #endif
33 +  ],
34    ac_fix_boost=yes,
35    ac_fix_boost=no)
36  ])