Revision: 55108
http://brlcad.svn.sourceforge.net/brlcad/?rev=55108&view=rev
Author: starseeker
Date: 2013-04-10 15:11:08 +0000 (Wed, 10 Apr 2013)
Log Message:
-----------
Need the __thread check for new threading code.
Modified Paths:
--------------
brlcad/trunk/configure.ac
Modified: brlcad/trunk/configure.ac
===================================================================
--- brlcad/trunk/configure.ac 2013-04-10 14:24:43 UTC (rev 55107)
+++ brlcad/trunk/configure.ac 2013-04-10 15:11:08 UTC (rev 55108)
@@ -1846,6 +1846,12 @@
AC_CHECK_TYPES([cpu_set_t], [], [], [#include <sched.h>])
+AC_COMPILE_IFELSE(
+ [[static __thread int i = 0; int main() { return i; }]],
+ [AC_DEFINE(HAVE___THREAD, 1, [Define to 1 if __thread is present])],
+ []
+)
+
dnl ******************************************
dnl *** Check for compiler characteristics ***
dnl ******************************************
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits