From: <and...@us...> - 2009-04-30 09:10:23
|
Revision: 9867 http://plplot.svn.sourceforge.net/plplot/?rev=9867&view=rev Author: andrewross Date: 2009-04-30 09:10:17 +0000 (Thu, 30 Apr 2009) Log Message: ----------- Re-enable HAVE_PTHREAD=ON by default on most platforms now tk segmentation fault has been cured. Modified Paths: -------------- trunk/cmake/modules/xwin.cmake Modified: trunk/cmake/modules/xwin.cmake =================================================================== --- trunk/cmake/modules/xwin.cmake 2009-04-30 09:08:06 UTC (rev 9866) +++ trunk/cmake/modules/xwin.cmake 2009-04-30 09:10:17 UTC (rev 9867) @@ -40,10 +40,9 @@ # get a clear report that official X works for 10.5. option(HAVE_PTHREAD "Use pthreads with the xwin driver" OFF) else(CMAKE_SYSTEM_NAME STREQUAL "Darwin") - # Turn HAVE_PTHREAD OFF by default everywhere else as well since it - # has been discovered it interacts so poorly with the Tk components - # of PLplot on Linux that it causes segfaults for those components. - option(HAVE_PTHREAD "Use pthreads with the xwin driver" OFF) + # Turn HAVE_PTHREAD ON by default for other platforms now that + # the tk segmentation fault has been cured. + option(HAVE_PTHREAD "Use pthreads with the xwin driver" ON) endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") if(HAVE_PTHREAD) find_package(Threads) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |