Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#145 isnan test in configure and DragonFly

closed
nobody
None
5
2005-10-28
2005-08-31
Jeremy C. Reed
No

The wv2-0.2.2 configure tests for isnan in libm.
This fails on DragonFly.

configure says:

checking for isnan in -lm... no

config.log has:

configure:13950: checking for isnan in -lm
configure:13981: cc -o conftest -DNDEBUG -O2 -O2
-I/home/reed/pkg/include -I/usr/include
-I/home/reed/pkg/include/krb5 -I/home/reed/pkg/include
-I/usr/include
-I/home/reed/pkg/include/krb5 -L/home/reed/pkg/lib
-Wl,-R/home/reed/pkg/lib -L/usr/lib -Wl,-R/usr/lib
conftest.c -lm -lintl -liconv >&5
/var/tmp//ccxbEVIv.o(.text+0x15): In function `main':
: undefined reference to `isnan'

Which later causes

ustring.cpp: In function `bool wvWare::isNaN(double)':

ustring.cpp:71: error: `_isnan' undeclared (first use
this function)

I don't know the fix yet, but I am reporting here so I
don't forget.

My workaround was to set ac_cv_lib_m_isnan=yes in my
environment and it built and installed fine.

Discussion

  • Dom Lachowicz
    Dom Lachowicz
    2005-10-28

    • status: open --> closed
     
  • Dom Lachowicz
    Dom Lachowicz
    2005-10-28

    Logged In: YES
    user_id=69417

    wv2 isn't under development any more, afaik.