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] |
I still don't understand why this is happening, but the solution is simple. Just comment out the isinf and isnan macros in config.h. Also, if you are building from CVS you should be good to go with the lastest autotools since they should all be buildable and work on 10.2.6. I just built and used the following in a CVS build of GSL with shared libraries:The configure script looks for isinf(). If it doesn't find it, it can get confused and tries to #define isinf(x) gsl_isinf(x). Here is what is currently in configure.in:
AC_TRY_COMPILE([#define isinf /* */
#include <math.h>],[{}],[],[
AC_CHECK_FUNCS(isinf, ,[
AC_MSG_CHECKING([for isinf with <math.h>])
AC_TRY_LINK([#include <math.h>], [float f = 0.0; isinf(f)],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_ISINF)],
AC_MSG_RESULT(no))])])
-- Brian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |