]> git.proxmox.com Git - mirror_lxc.git/blobdiff - config/tls.m4
pam_cgfs: remove dependency from cap & log
[mirror_lxc.git] / config / tls.m4
index 5d1ac5918dea11fd4f5d0f7e28be36d6133a7e7f..cd032c9d703f37b10d092ef346167eeda1f7010e 100644 (file)
@@ -5,7 +5,7 @@
 AC_DEFUN([LXC_CHECK_TLS],
 [
     AC_MSG_CHECKING(for TLS)
-    AC_RUN_IFELSE([AC_LANG_SOURCE([[ static __thread int val; int main() { return 0; } ]])],[have_tls=yes],[have_tls=no],[have_tls=no ])
+    AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ static __thread int val; int main() { return 0; } ]])],[have_tls=yes],[have_tls=no],[have_tls=no ])
     AC_MSG_RESULT($have_tls)
     if test "$have_tls" = "yes"; then
         AC_DEFINE([HAVE_TLS],[1],[Define if the compiler supports __thread])