Hi,

On 01.02.2010, at 23:53, Jan Rovins wrote:
...
> The configure script fails because it can't find the gmp library.
> it was looking for it in $root/lib, but the library was in $root/lib64
> 
> The following changes to the cloog-ppl.conf file  got it to build 
> successfully:
> 
> Index: package/develop/cloog-ppl/cloog-ppl.conf
> ===================================================================
> --- package/develop/cloog-ppl/cloog-ppl.conf    (revision 35446)
> +++ package/develop/cloog-ppl/cloog-ppl.conf    (working copy)
> @@ -14,6 +14,10 @@
> 
> if atstage toolchain; then
>       var_append extraconfopt ' ' '--with-ppl=$root --with-gmp=$root'
> +       if [[ $libdir = *lib64 ]]; then
> +               var_append extraconfopt ' ' '--with-gmp-library=$root$libdir'
> +       fi
> +
> else
>       var_append extraconfopt ' ' '--with-ppl'
> fi


Thank you for the patch. Same compactness (test && action) goes here, and as 
already indicated, made unconditionally as well (does not harm $libdir == plain 
old /lib). Grouped with the other --with-gmp option for readability:

Committed revision 35473.

Keep up your great work!

  René

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.name

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to