From 7d617f1db05b0646456aaf811395a395b2ed8fc6 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 2 Feb 2015 16:33:56 -0500 Subject: [PATCH] configure: add check for compiler inline keyword support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Check support of the inline keyword by the compiler. If not supported, inline is replaced by the appropriate keyword or nothing.[1] Based on autoscan diagnostic [1]http://www.gnu.org/software/autoconf/manual/autoconf.html#AC_005fC_005fINLINE Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 5290addf2..8871889f0 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ AC_CHECK_FUNCS([ \ strncasecmp strndup strpbrk strrchr strstr strtol strtoul \ strtoull \ ]) + # Babeltrace viewer check AC_ARG_WITH([babeltrace-bin], AS_HELP_STRING([--with-babeltrace-bin], @@ -414,7 +415,11 @@ fi AM_CONDITIONAL([BUILD_JAVA_LOG4J_AGENT], [test "x$build_java_log4j_agent" = "xyes"]) AC_SYS_LARGEFILE + +# C compiler tests AC_PROG_CC +AC_C_INLINE + LT_INIT AC_PROG_YACC AC_PROG_LEX -- 2.34.1