projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix AC_LANG_SOURCE usage: only takes one parameter
[lttng-ust.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index a3f18a9dfe15e95b291e5b4c9ff3e3c1a5878d42..9730ce602f0daaf909cff60458adabc1ee6e0f29 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-85,9
+85,8
@@
AC_CHECK_HEADERS([urcu-bp.h], [], [AC_MSG_ERROR([Cannot find [URCU] headers (urc
This error can also occur when the liburcu package's configure script has not been run.])])
AC_MSG_CHECKING([caa_likely()])
This error can also occur when the liburcu package's configure script has not been run.])])
AC_MSG_CHECKING([caa_likely()])
-AC_COMPILE_IFELSE([AC_LANG_
PROGRAM
([[
+AC_COMPILE_IFELSE([AC_LANG_
SOURCE
([[
#include <urcu/compiler.h>
#include <urcu/compiler.h>
-]], [[
void fct(void)
{
if (caa_likely(1)) {
void fct(void)
{
if (caa_likely(1)) {
@@
-156,8
+155,7
@@
AC_MSG_RESULT($LIBFORMAT)
if test "x$host_cpu" = "xarm" ; then
AC_MSG_CHECKING([checking for armv5])
if test "x$host_cpu" = "xarm" ; then
AC_MSG_CHECKING([checking for armv5])
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
-]], [[
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#ifndef __ARM_ARCH_5TEJ__
#error "no arm5 here"
#endif
#ifndef __ARM_ARCH_5TEJ__
#error "no arm5 here"
#endif
This page took
0.024108 seconds
and
4
git commands to generate.