1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/cloog-ppl/fix-ppl-version.patch
2014-05-11 14:34:32 +02:00

17 lines
686 B
Diff

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])