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"
- Chris
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel