summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-21 09:35:52 +0000
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-21 09:35:52 +0000
commit6ac3b11ec643c5f7665788dec95e0d42fc31c7c6 (patch)
tree0154a0e478644d8ab7b217e20c6e703972644f1b /config
parent258bd648e6065446a18fe099309116cf658c4421 (diff)
downloadgcc-6ac3b11ec643c5f7665788dec95e0d42fc31c7c6.tar.gz
* configure: Regenerated.
config/ChangeLog * isl.m4 (ISL_CHECK_VERSION): Check link of isl library for cross_compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/isl.m46
2 files changed, 10 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 3a0d438cd51..82c73bd5cde 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+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.
diff --git a/config/isl.m4 b/config/isl.m4
index 9743aee0e13..57ae3c5f740 100644
--- a/config/isl.m4
+++ b/config/isl.m4
@@ -122,7 +122,11 @@ AC_DEFUN([ISL_CHECK_VERSION],
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