something like :

AX_BLAS([have_blas=yes], [have_blas=no]) if test "x${have_blas}" = xno; 
then ... stuff.. ... this is how I used them 
here: https://github.com/dimpase/csdp/blob/master/configure.ac 


On Monday, July 4, 2016 at 2:11:54 PM UTC+1, parisse wrote:
>
> How is it supposed to work? I have copied the m4 files into m4/, then if I 
> put
>   AX_BLAS([],AX_LAPACK())
> instead of
>     AC_CHECK_LIB(gfortran, main)
>     AC_CHECK_LIB(blas, main)
>     AC_CHECK_LIB(lapack, main, [], [CONFIG_LAPACK="no"])
> configure fails
> ./configure: line 15831: syntax error near unexpected token `,AX_LAPACK'
> ./configure: line 15831: `    AX_BLAS(,AX_LAPACK())'
>
> Le lundi 4 juillet 2016 14:25:15 UTC+2, Dima Pasechnik a écrit :
>>
>>
>>
>> On Monday, July 4, 2016 at 1:06:06 PM UTC+1, parisse wrote:
>>>
>>> It's back online.
>>>
>>
>> OK, I just wanted to look at congure.in we are talking about. 
>> There are AX_BLAS and AX_LAPACK macros which are (semi)standard:
>>
>> http://www.gnu.org/software/autoconf-archive/ax_blas.html
>> and  
>> http://www.gnu.org/software/autoconf-archive/ax_lapack.html
>>
>> these URLS also point you to .m4 files one can simply put in your m4/
>>
>> (perhaps sufficiently modern autotools even ship
>> these macros, I don't know)
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to