From 52cf9762c53f5de7070a3951a3a6156082839d35 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 10 Feb 2016 10:54:29 +0000 Subject: Sync top level files with gcc. Import these patches from the GCC mainline: 2016-01-12 Andris Pavenis * configure.ac: Enable LTO for DJGPP * configure: Regenerate 2016-01-24 Mikhail Maltsev PR bootstrap/69329 * Makefile.tpl (BASE_FLAGS_TO_PASS): Add LSAN_OPTIONS. * Makefile.in: Regenerate. 2016-01-25 Aditya Kumar Sebastian Pop * Makefile.in: Regenerate. * Makefile.tpl: Export ISLVER. * configure: Regenerate. * config/isl.m4: Detect isl-0.15. 2016-01-29 Sebastian Pop * config/isl.m4: Add comments about isl-0.16. * configure: Regenerate. --- config/isl.m4 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/isl.m4 b/config/isl.m4 index 86ccb94..92524af 100644 --- a/config/isl.m4 +++ b/config/isl.m4 @@ -106,7 +106,7 @@ AC_DEFUN([ISL_CHECK_VERSION], LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}" LIBS="${_isl_saved_LIBS} -lisl -lgmp" - AC_MSG_CHECKING([for isl 0.15 (or deprecated 0.14)]) + AC_MSG_CHECKING([for isl 0.16, 0.15, or deprecated 0.14]) AC_TRY_LINK([#include ], [isl_ctx_get_max_operations (isl_ctx_alloc ());], [gcc_cv_isl=yes], @@ -114,7 +114,19 @@ AC_DEFUN([ISL_CHECK_VERSION], AC_MSG_RESULT([$gcc_cv_isl]) if test "${gcc_cv_isl}" = no ; then - AC_MSG_RESULT([recommended isl version is 0.15, minimum required isl version 0.14 is deprecated]) + AC_MSG_RESULT([recommended isl version is 0.16 or 0.15, the minimum required isl version 0.14 is deprecated]) + fi + + AC_MSG_CHECKING([for isl 0.16 or 0.15]) + AC_TRY_LINK([#include ], + [isl_options_set_schedule_serialize_sccs (NULL, 0);], + [ac_has_isl_options_set_schedule_serialize_sccs=yes], + [ac_has_isl_options_set_schedule_serialize_sccs=no]) + AC_MSG_RESULT($ac_has_isl_options_set_schedule_serialize_sccs) + + if test x"$ac_has_isl_options_set_schedule_serialize_sccs" = x"yes"; then + islver="0.15" + AC_SUBST([islver]) fi CFLAGS=$_isl_saved_CFLAGS -- cgit v1.1