On Jul 4, 2012, at 10:58 AM, Richard Guenther wrote:

> On Wed, 4 Jul 2012, Tristan Gingold wrote:
> 
>> 
>> On Jul 2, 2012, at 1:43 PM, Richard Guenther wrote:
>> 
>>> On Thu, 28 Jun 2012, Diego Novillo wrote:
>>> 
>>>> On 12-06-27 11:06 , Richard Guenther wrote:
>>>> 
>>>>> 2012-06-27  Richard Guenther  <rguent...@suse.de>
>>>>>   Michael Matz  <m...@suse.de>
>>>>>   Tobias Grosser <tob...@grosser.es>
>>>>>   Sebastian Pop <seb...@gmail.com>
>>>>> 
>>>>>   config/
>>>>>   * cloog.m4: Set up to work against ISL only.
>>>>>   * isl.m4: New file.
>> 
>> Shouldn't ENABLE_IS_CHECK be automatically set to no when building a cross 
>> canadian ?
> 
> Probably yes, as it is a runtime test.  Thus at any time when host != 
> build.  Care to post a patch?  You probably know best what the canonical
> way to check this is.

Something like that ?

Tested by building a cross and a canadian for ia64-hp-openvms.

Tristan.

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

        * configure: Regenerate.

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

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

diff --git a/config/isl.m4 b/config/isl.m4
index 152d422..831ac26 100644
--- a/config/isl.m4
+++ b/config/isl.m4
@@ -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>
        [gcc_cv_isl=yes],
-       [gcc_cv_isl=no])])
+       [gcc_cv_isl=no],
+       [gcc_cv_isl=yes])])
 
     CFLAGS=$_isl_saved_CFLAGS
     LDFLAGS=$_isl_saved_LDFLAGS

Reply via email to