mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 19:36:28 +00:00
[autoconf/cmake] Make sure we detect the latest version of isl.
llvm-svn: 185429
This commit is contained in:
parent
69a387e6ae
commit
24bb46bc66
@ -80,7 +80,7 @@ find_lib_and_headers([gmp], [gmp.h], [gmp], [required])
|
||||
dnl Find Isl
|
||||
saved_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS="$CXXFLAGS $gmp_inc"
|
||||
find_lib_and_headers([isl], [isl/ast.h], [isl], [required])
|
||||
find_lib_and_headers([isl], [isl/val.h], [isl], [required])
|
||||
CXXFLAGS=$saved_CXXFLAGS
|
||||
|
||||
dnl Check that we have cloog.
|
||||
|
@ -1,4 +1,4 @@
|
||||
FIND_PATH(ISL_INCLUDE_DIR isl/ast.h)
|
||||
FIND_PATH(ISL_INCLUDE_DIR isl/val.h)
|
||||
|
||||
FIND_LIBRARY(ISL_LIBRARY NAMES isl)
|
||||
|
||||
|
6
polly/configure
vendored
6
polly/configure
vendored
@ -2504,13 +2504,13 @@ else
|
||||
fi
|
||||
|
||||
# Check for library and headers works
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl: isl/ast.h in $given_inc_path, and libisl in $given_lib_path" >&5
|
||||
$as_echo_n "checking for isl: isl/ast.h in $given_inc_path, and libisl in $given_lib_path... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl: isl/val.in $given_inc_path, and libisl in $given_lib_path" >&5
|
||||
$as_echo_n "checking for isl: isl/val.in $given_inc_path, and libisl in $given_lib_path... " >&6; }
|
||||
|
||||
# try to compile a file that includes a header of the library
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
#include <isl/ast.h>
|
||||
#include <isl/val.h>
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user