summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 12:50:02 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 12:50:02 +0000
commit49629d8d42a4e42070fa7be9b00edc6ed2eafbb1 (patch)
treefc5124a99401e107c038782ca2583bc515cb1401
parentc42da981f4cd20f265eaffedc540c7c306407af2 (diff)
Fixed building by compilers without support of "inline" function
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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.])