summaryrefslogtreecommitdiff
path: root/recipes/inkscape/files/no-boehm-version-check.patch
blob: 4a9c0361426def8ceeb63c04ad0637618e92178a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- /tmp/configure.ac	2006-02-19 10:43:44.525208784 +0100
+++ inkscape-0.43/configure.ac	2006-02-19 10:43:55.582527816 +0100
@@ -133,24 +133,7 @@
                  [gc_ok=no])
 if test "x$gc_ok" = "xyes"; then
 	AC_MSG_CHECKING([libgc version 6.4+])
-	AC_RUN_IFELSE(
-		[AC_LANG_SOURCE([[
-			#ifdef HAVE_GC_GC_H
-			# include <gc/gc.h>
-			#else
-			# include <gc.h>
-			#endif
-			#include <stdio.h>
-			extern unsigned GC_version;
-			int main(void){
-				unsigned min = ((6 << 16) | (4 << 8) | 0);
-				printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
-				if (GC_version>=min) return 0;
-				return 1;
-			}]])],
-		[gc_ok=yes],
-		[gc_ok=no]
-	)
+		[gc_ok=yes]
 	AC_MSG_RESULT([$gc_ok])
 fi
 if test "x$gc_ok" != "xyes"; then