This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL 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: searching for gsl library


> 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





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