On Mon, Oct 31, 2011 at 10:46:11AM +0000, Toby Gray wrote: > On 28/10/11 23:19, Chris Frey wrote: > > Also, wouldn't this change be more accurate? > > > > --- a/configure.ac > > +++ b/configure.ac > > @@ -344,7 +344,7 @@ AM_CONDITIONAL([WITH_FUSE], [test "$FUSE_FOUND" = "1"]) > > AM_CONDITIONAL([WITH_SDL], [test "$SDL_FOUND" = "1"]) > > AM_CONDITIONAL([WITH_SYNC], [test "$GLIB2_FOUND" = "1" -a "$SYNC_ENABLED" > > = "yes"]) > > > > -AC_CHECK_LIB([pthread], [main], [HAVE_LIBPTHREAD=1], [HAVE_LIBPTHREAD=0]) > > +AC_CHECK_LIB([pthread], [pthread_create], [HAVE_LIBPTHREAD=1], > > [HAVE_LIBPTHREAD=0]) > > THREAD_LIBRARY_LIBS= > > if test "$HAVE_LIBPTHREAD" = "1"; then > > THREAD_LIBRARY_LIBS="-lpthread" > > Yes, that's a good point. I was just in the mindset of "need to check > for if libpthread.so exists", rather than checking it's got a useful > function.
Actually, when I looked closer, the [main] part was in the original code, before your change, so that wasn't yours. :-) Sorry. I changed it anyhow and ran my tests, and it didn't seem to break anything, so I'll keep the [pthread_create] style. - Chris ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel