Browse Source

small fix

Andra Hugo 13 years ago
parent
commit
6886636fb5
1 changed files with 5 additions and 5 deletions
  1. 5 5
      configure.ac

+ 5 - 5
configure.ac

@@ -133,9 +133,9 @@ else
 fi
 
 AC_COMPILE_IFELSE(
-  AC_LANG_PROGRAM([[
+  [AC_LANG_PROGRAM([[
     #include <pthread.h>
-  ]], [[ pthread_t t; pthread_create(&t, NULL, NULL, NULL); ]]),,
+  ]], [[ pthread_t t; pthread_create(&t, NULL, NULL, NULL); ]])],,
   AC_MSG_ERROR([pthread_create unavailable]))
 AC_SEARCH_LIBS([sqrt],[m],,AC_MSG_ERROR([math library unavailable]))
 AC_HAVE_LIBRARY([ws2_32])
@@ -433,7 +433,7 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
 	AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
 		[[#include <cuda.h>]],
 		[[]]
-		),
+		)],
 	    [have_valid_cuda="yes"],
 	    [have_valid_cuda="no"]
 	])
@@ -1565,11 +1565,11 @@ if test "$enable_cuda" = "yes" -a "$ICC" != ""; then
    OLD_CFLAGS="$CFLAGS"
    CFLAGS="-I$PWD/include -I$srcdir/include"
    AC_COMPILE_IFELSE(
-       AC_LANG_PROGRAM(
+       [AC_LANG_PROGRAM(
 	   [[#include <cuda.h>
 	   #include <starpu.h>]],
 	   [[]]
-	   ),
+	   )],
        AC_MSG_RESULT(yes),
        [ICC=""
            AC_MSG_RESULT(no)]