|
From: <sv...@va...> - 2011-03-12 10:36:45
|
Author: bart
Date: 2011-03-12 10:36:35 +0000 (Sat, 12 Mar 2011)
New Revision: 11628
Log:
Added AC_LANG_SOURCE() invocations where appropriate.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2011-03-11 21:06:59 UTC (rev 11627)
+++ trunk/configure.in 2011-03-12 10:36:35 UTC (rev 11628)
@@ -1780,8 +1780,7 @@
safe_CXXFLAGS=$CXXFLAGS
CXXFLAGS="-lboost_thread-mt $mflag_primary"
-AC_LINK_IFELSE(
-[
+AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <boost/thread.hpp>
static void thread_func(void)
{ }
@@ -1790,7 +1789,7 @@
boost::thread t(thread_func);
return 0;
}
-],
+])],
[
ac_have_boost_1_35=yes
AC_SUBST([BOOST_CFLAGS], [])
@@ -1815,15 +1814,14 @@
safe_CFLAGS=$CFLAGS
CFLAGS="-fopenmp $mflag_primary"
-AC_LINK_IFELSE(
-[
+AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <omp.h>
int main(int argc, char** argv)
{
omp_set_dynamic(0);
return 0;
}
-],
+])],
[
ac_have_openmp=yes
AC_MSG_RESULT([yes])
|