about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/cloog-ppl/fix-ppl-version.patch
blob: 8440d839411bcba716df566104e78c0dd5703103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -rupN src/configure.in cloog-ppl-0.15.11/configure.in
--- src/configure.in	2014-04-13 13:33:43.349392305 +0200
+++ cloog-ppl-0.15.11/configure.in	2014-04-13 13:34:12.695379888 +0200
@@ -337,11 +337,7 @@ if test "x$with_ppl" != "x" -a "x$with_p
 		        [AC_MSG_ERROR(Can't find PPL headers.)])
 
 	AC_MSG_CHECKING([for version 0.10 (or later revision) of PPL])
-	AC_TRY_COMPILE([#include "ppl_c.h"],[
-	#if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
-	choke me
-	#endif
-	], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR(Can't find correct version of PPL.) ])
+	AC_MSG_RESULT([yes])
 
 	LIBS="$LIBS -lppl_c -lppl -lgmpxx"
 	AC_DEFINE([CLOOG_PPL_BACKEND], 1, [Use the PPL backend])