[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gthread lib



This is what I use and it works just fine:
AC_CHECK_LIB([pthread], [pthread_create], ,
        [AC_MSG_ERROR(the posix thread library was not found)],
        [$GTK_LIBS -lGL -lpthread]
)

AC_CHECK_LIB([gthread], [g_thread_init], ,
        [AC_MSG_ERROR(the glib thread library was not found)],
        [$GTK_LIBS -lGL -lpthread]
)

-Chris

-- 
lansdoct@cs.alfred.edu
"If I had had more time I would have not written you at all." - Pascal
Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
Linux - Get there. Today.
Evil Overlord Quote of the Day:
150.I will provide funding and research to develop tactical and strategic
weapons covering a full range of needs so my choices are not limited to
"hand to hand combat with swords" and "blow up the planet".



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]