expected behavior for --with-cloog?

Sebastian Pop sebpop@gmail.com
Sun Mar 28 17:27:00 GMT 2010


On Sun, Mar 28, 2010 at 10:14, Ralf Wildenhues <Ralf.Wildenhues@gmx.de> wrote:
> This still doesn't error out when --with-cloog was explicitly passed but
> not acceptable, right?

yes

>
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -1617,7 +1617,12 @@ if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then
>>    #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || CLOOG_VERSION_REVISION < 5
>>    choke me
>>    #endif
>> -  ], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); clooglibs= ; clooginc= ])
>> +  ], AC_TRY_COMPILE([#include "cloog/cloog.h"],[
>
> Please wrap AC_TRY_COMPILE(...) in [ ] because as an argument to a macro
> (in this case the outer AC_TRY_COMPILE) it should be quoted once.

I just did what GMP and MPFR do.  I could change this for CLooG-PPL,
but then I would also have to change in the same way GMP and MPFR.

Sebastian



More information about the Gcc-patches mailing list