mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
6c9df5a001
commit
2b2d7c53bb
|
|
@ -1,3 +1,7 @@
|
||||||
|
2012-07-04 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2012-07-03 Richard Guenther <rguenther@suse.de>
|
2012-07-03 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* Makfile.def (isl): Remove not necessary extra_exports and
|
* Makfile.def (isl): Remove not necessary extra_exports and
|
||||||
|
|
|
||||||
|
|
@ -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>
|
2012-07-03 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* cloog.m4: Remove debugging print.
|
* cloog.m4: Remove debugging print.
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ AC_DEFUN([ISL_INIT_FLAGS],
|
||||||
|
|
||||||
# ISL_REQUESTED (ACTION-IF-REQUESTED, ACTION-IF-NOT)
|
# 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_DEFUN([ISL_REQUESTED],
|
||||||
[
|
[
|
||||||
AC_REQUIRE([ISL_INIT_FLAGS])
|
AC_REQUIRE([ISL_INIT_FLAGS])
|
||||||
|
|
@ -103,7 +103,7 @@ AC_DEFUN([ISL_REQUESTED],
|
||||||
|
|
||||||
# _ISL_CHECK_CT_PROG(MAJOR, MINOR)
|
# _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(
|
m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
|
||||||
[#include <isl/version.h>
|
[#include <isl/version.h>
|
||||||
#include <string.h>],
|
#include <string.h>],
|
||||||
|
|
@ -131,7 +131,8 @@ AC_DEFUN([ISL_CHECK_VERSION],
|
||||||
[gcc_cv_isl],
|
[gcc_cv_isl],
|
||||||
[AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
|
[AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
|
||||||
[gcc_cv_isl=yes],
|
[gcc_cv_isl=yes],
|
||||||
[gcc_cv_isl=no])])
|
[gcc_cv_isl=no],
|
||||||
|
[gcc_cv_isl=yes])])
|
||||||
|
|
||||||
CFLAGS=$_isl_saved_CFLAGS
|
CFLAGS=$_isl_saved_CFLAGS
|
||||||
LDFLAGS=$_isl_saved_LDFLAGS
|
LDFLAGS=$_isl_saved_LDFLAGS
|
||||||
|
|
|
||||||
|
|
@ -5702,10 +5702,7 @@ if test "${gcc_cv_isl+set}" = set; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
if test "$cross_compiling" = yes; then :
|
if test "$cross_compiling" = yes; then :
|
||||||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
gcc_cv_isl=yes
|
||||||
$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; }
|
|
||||||
else
|
else
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue