* configure: Regenerated.
config/ChangeLog
* isl.m4 (ISL_CHECK_VERSION): Check link of isl library
for cross_compiling.
From-SVN: r214263
+2014-08-21 Bin Cheng <bin.cheng@arm.com>
+
+ * configure: Regenerated.
+
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* rtx-classes-status.txt (TODO): Add SET_BND_TO
+2014-08-21 Bin Cheng <bin.cheng@arm.com>
+
+ * isl.m4 (ISL_CHECK_VERSION): Check link of isl library
+ for cross_compiling.
+
2014-08-18 Roman Gareev <gareevroman@gmail.com>
* cloog.m4: Remove the path to isllibs from clooglibs.
AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
[gcc_cv_isl=yes],
[gcc_cv_isl=no],
- [gcc_cv_isl=yes])
+ [
+ AC_LINK_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
+ [gcc_cv_isl=yes],
+ [gcc_cv_isl=no])
+ ])
AC_MSG_RESULT([$gcc_cv_isl])
CFLAGS=$_isl_saved_CFLAGS
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
$as_echo_n "checking for version 0.12 of ISL... " >&6; }
if test "$cross_compiling" = yes; then :
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <isl/version.h>
+ #include <string.h>
+int
+main ()
+{
+if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
+ return 1;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
gcc_cv_isl=yes
+else
+ gcc_cv_isl=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */