This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Support official CLooG.org versions.


On 09/22/2010 04:16 PM, Sebastian Pop wrote:
 -if test "x$with_cloog_include" != x; then
 -  clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
 +if test "${with_cloog_include+set}" = set ; then
 +  clooginc="-I$with_cloog_include"
   fi
 -if test "x$with_cloog_lib" != x; then
 -  clooglibs="-L$with_cloog_lib -lcloog"
 +if test "${with_cloog_lib+set}" = set; then
 +  clooglibs="-L$with_cloog_lib"
   fi

I don't understand the change in the "if" statements, since -I and -L do not make sense if the variable is empty.


Also, this is now a substantial body of code, can you move it to config/cloog.m4 please?

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]