Hello Jack, * Jack Howarth wrote on Fri, Mar 26, 2010 at 01:13:16AM CET: > While testing a patch to update the minimum version > of cloog-ppl in gcc trunk...
> --- configure.ac (revision 157732) > +++ configure.ac (working copy) > @@ -1612,9 +1612,9 @@ > if test "x$with_cloog" != "xno" -a "${ENABLE_CLOOG_CHECK}" = "yes"; then > saved_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS $clooginc $gmpinc $pplinc" > - AC_MSG_CHECKING([for version 0.15.5 (or later revision) of CLooG]) > + AC_MSG_CHECKING([for version 0.15.9 (or later revision) of CLooG]) > AC_TRY_COMPILE([#include "cloog/cloog.h"],[ > - #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || > CLOOG_VERSION_REVISION < 5 > + #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15 || > CLOOG_VERSION_REVISION < 9 > choke me > #endif > ], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); clooglibs= ; clooginc= ]) > > I noticed that this test only returns... > > checking for version 0.15.9 (or later revision) of CLooG... no > > for... > > ../gcc-4.5-20100325/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 > --mandir=/sw/share/man --infodir=/sw/share/info > --enable-languages=c,c++,fortran,objc,obj-c++,java \ > --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw > --with-mpc=/sw --with-system-zlib \ > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > --disable-libjava-multilib --enable-checking=release > > ...when a cloog-ppl earlier than 0.15.9 is installed. Shouldn't configure fail > outright in this case since the user obviously intended cloog to be used? > Currently > configure proceeds to set up a build without graphite support. Well, what does config.log tell you why it was not detected? Cheers, Ralf