summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/configure
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-06-30 08:22:14 +0000
committerTobias Grosser <tobias@grosser.es>2015-06-30 08:22:14 +0000
commit4db553199ca31f86d5ab892ec97e6abae94498e1 (patch)
tree87a54433a7ddcf3ba445fc9d925dc416d4d2b0a9 /polly/lib/External/isl/configure
parent886fbad410566c1146b17ac4e5be6e1fea477c7e (diff)
downloadbcm5719-llvm-4db553199ca31f86d5ab892ec97e6abae94498e1.tar.gz
bcm5719-llvm-4db553199ca31f86d5ab892ec97e6abae94498e1.zip
Update isl to isl-0.15-30-g3518765
This updated contains various changes to isl, including improvements to the AST generator. For Polly, the most important change is a fix that unbreaks builds on darwin (reported by: Jack Howard) llvm-svn: 241048
Diffstat (limited to 'polly/lib/External/isl/configure')
-rwxr-xr-x[-rw-r--r--]polly/lib/External/isl/configure101
1 files changed, 101 insertions, 0 deletions
diff --git a/polly/lib/External/isl/configure b/polly/lib/External/isl/configure
index 8d053430558..e058920fb83 100644..100755
--- a/polly/lib/External/isl/configure
+++ b/polly/lib/External/isl/configure
@@ -17466,6 +17466,9 @@ fi
;;
esac
+if test "x$with_int" = "ximath-32" -a "x$GCC" = "xyes"; then
+ MP_CPPFLAGS="-std=gnu99 $MP_CPPFLAGS"
+fi
if test x$with_int = ximath -o x$with_int = ximath-32; then
IMATH_FOR_MP_TRUE=
@@ -17523,6 +17526,104 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL___BUILTIN_FFS $ac_have_decl
_ACEOF
+ac_fn_c_check_decl "$LINENO" "_BitScanForward" "ac_cv_have_decl__BitScanForward" "#include <intrin.h>
+"
+if test "x$ac_cv_have_decl__BitScanForward" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__BITSCANFORWARD $ac_have_decl
+_ACEOF
+
+if test "x$ac_cv_have_decl_ffs" = xno -a \
+ "x$ac_cv_have_decl___builtin_ffs" = xno -a \
+ "x$ac_cv_have_decl__BitScanForward" = xno; then
+ as_fn_error $? "No ffs implementation found" "$LINENO" 5
+fi
+ac_fn_c_check_decl "$LINENO" "strcasecmp" "ac_cv_have_decl_strcasecmp" "#include <strings.h>
+"
+if test "x$ac_cv_have_decl_strcasecmp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRCASECMP $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "strncasecmp" "ac_cv_have_decl_strncasecmp" "#include <strings.h>
+"
+if test "x$ac_cv_have_decl_strncasecmp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRNCASECMP $ac_have_decl
+_ACEOF
+
+ac_fn_c_check_decl "$LINENO" "_stricmp" "ac_cv_have_decl__stricmp" "#include <string.h>
+"
+if test "x$ac_cv_have_decl__stricmp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__STRICMP $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "_strnicmp" "ac_cv_have_decl__strnicmp" "#include <string.h>
+"
+if test "x$ac_cv_have_decl__strnicmp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__STRNICMP $ac_have_decl
+_ACEOF
+
+if test "x$ac_cv_have_decl_strcasecmp" = xno -a \
+ "x$ac_cv_have_decl__stricmp" = xno; then
+ as_fn_error $? "No strcasecmp implementation found" "$LINENO" 5
+fi
+if test "x$ac_cv_have_decl_strncasecmp" = xno -a \
+ "x$ac_cv_have_decl__strnicmp" = xno; then
+ as_fn_error $? "No strncasecmp implementation found" "$LINENO" 5
+fi
+ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "#include <stdio.h>
+"
+if test "x$ac_cv_have_decl_snprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SNPRINTF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
+"
+if test "x$ac_cv_have_decl__snprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL__SNPRINTF $ac_have_decl
+_ACEOF
+
+if test "x$ac_cv_have_decl_snprintf" = xno -a \
+ "x$ac_cv_have_decl__snprintf" = xno; then
+ as_fn_error $? "No snprintf implementation found" "$LINENO" 5
+fi
OpenPOWER on IntegriCloud