isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.

config/
2012-07-04  Tristan Gingold  <gingold@adacore.com>

	* isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
	Fix comments.

2012-07-04  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

From-SVN: r189257
This commit is contained in:
Tristan Gingold 2012-07-04 12:26:55 +00:00 committed by Tristan Gingold
parent 6c9df5a001
commit 2b2d7c53bb
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2012-07-04 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
2012-07-03 Richard Guenther <rguenther@suse.de>
* Makfile.def (isl): Remove not necessary extra_exports and

View File

@ -1,3 +1,8 @@
2012-07-04 Tristan Gingold <gingold@adacore.com>
* isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
Fix comments.
2012-07-03 Richard Guenther <rguenther@suse.de>
* cloog.m4: Remove debugging print.

View File

@ -84,7 +84,7 @@ AC_DEFUN([ISL_INIT_FLAGS],
# ISL_REQUESTED (ACTION-IF-REQUESTED, ACTION-IF-NOT)
# ----------------------------------------------------
# Provide actions for failed CLooG detection.
# Provide actions for failed ISL detection.
AC_DEFUN([ISL_REQUESTED],
[
AC_REQUIRE([ISL_INIT_FLAGS])
@ -103,7 +103,7 @@ AC_DEFUN([ISL_REQUESTED],
# _ISL_CHECK_CT_PROG(MAJOR, MINOR)
# --------------------------------------------
# Helper for verifying CLooG's compile time version.
# Helper for verifying ISL compile time version.
m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
[#include <isl/version.h>
#include <string.h>],
@ -131,7 +131,8 @@ AC_DEFUN([ISL_CHECK_VERSION],
[gcc_cv_isl],
[AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
[gcc_cv_isl=yes],
[gcc_cv_isl=no])])
[gcc_cv_isl=no],
[gcc_cv_isl=yes])])
CFLAGS=$_isl_saved_CFLAGS
LDFLAGS=$_isl_saved_LDFLAGS

5
configure vendored
View File

@ -5702,10 +5702,7 @@ if test "${gcc_cv_isl+set}" = set; then :
$as_echo_n "(cached) " >&6
else
if test "$cross_compiling" = yes; then :
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error "cannot run test program while cross compiling
See \`config.log' for more details." "$LINENO" 5; }
gcc_cv_isl=yes
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */