From 49629d8d42a4e42070fa7be9b00edc6ed2eafbb1 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 24 Aug 2016 12:50:02 +0000 Subject: [PATCH] Fixed building by compilers without support of "inline" function --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index af1ebf07..0285bb4f 100644 --- a/configure.ac +++ b/configure.ac @@ -143,7 +143,7 @@ choke me [[ inln_prfx="$inln_prfx_chk" ]]) test "x$inln_prfx" != "xnone" && break done -AS_IF([[test "x$ac_cv_c_inline" != "xnone"]], +AS_IF([[test "x$inln_prfx" != "xnone"]], [ AC_DEFINE([INLINE_FUNC],[1],[Define to 1 if your C compiler supports inline functions.]) AC_DEFINE_UNQUOTED([_MHD_inline],[static $inln_prfx],[Define to prefix which will be used with MHD inline functions.])