searching for gsl library

Juan Jose Gomez Cadenas gomez@ific.uv.es
Fri Feb 21 18:49:00 GMT 2003


> On Fri, 21 Feb 2003, Juan Jose Gomez Cadenas wrote:
>
>> I have problems to find gsl library using the macro
>
> Does the recipe from the manual
> (http://sources.redhat.com/gsl/ref/gsl-ref_2.html#SEC12) not work?
>
> - martin

No, it doesn't, at least for me. My configure.in:

AC_MSG_CHECKING([for math library])
AC_CHECK_LIB(m,main)

AC_MSG_CHECKING([for g2c library])
AC_CHECK_LIB(g2c,main)

AC_MSG_CHECKING([for gsl library])
AC_CHECK_LIB(gsl,main)
AM_PATH_GSL
AC_CHECK_LIB(gslcblas,cblas_sdsdot)

ANd the result:
checking for math library... checking for main in -lm... yes
checking for g2c library... checking for main in -lg2c... yes
checking for gsl library... checking for main in -lgsl... no






More information about the Gsl-discuss mailing list