DaehwanKimLab / tophat

Spliced read mapper for RNA-Seq
http://ccb.jhu.edu/software/tophat
Boost Software License 1.0
90 stars 46 forks source link

Configure issue when specifying --with-boost-thread #37

Open miguelbernadi opened 8 years ago

miguelbernadi commented 8 years ago

Hi,

Using latest release 2.1.1.

There seems to be a bug in ax_boost_thread.m4 because if I specify option --with-boost-thread it starts looking for a library called libboost_systemyes.so, which doesn't exist (and it's quite a weird name). If I do not specify that option, the configure finishes correctly and builds using libboost_sysyem.so and libboost_thread.so.

The line I suspect is this one:

78            [LIBS="$LIBS $BOOST_THREAD_LIBS -lboost_system$with_boost_thread"

I'm not really familiar with M4, but I think the variable _$with_boostthread in the code excerpt above is empty if the option of the same name is not selected, and should only be used in messages. Is that right?