This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
expected behavior for --with-cloog?
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 25 Mar 2010 20:13:16 -0400
- Subject: expected behavior for --with-cloog?
While testing a patch to update the minimum version
of cloog-ppl in gcc trunk...
Index: configure.ac
===================================================================
--- 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.
Jack