From 5064f774f75976b397a2321158657249ea1a4961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 10 Oct 2022 15:44:29 +0800 Subject: Fix Android crash when using malloc config.h had to removed before because of minimal AC_DEFINE. Now it compiles again, but still crashes when calling libcurl functions. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 319aee9..01e576b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,8 @@ AC_ARG_ENABLE([strap], [AS_HELP_STRING([--enable-strap], [enable Strap template parsing with libtidy])], [PKG_CHECK_MODULES([TIDY], [tidy]) - AC_DEFINE([ENABLE_STRAP])], + AC_DEFINE([ENABLE_STRAP], [1], + [Define to 1 if you enable Strap.])], [enable_strap=no]) AM_CONDITIONAL([STRAP], [test "x$enable_strap" = xyes]) AC_CANONICAL_HOST @@ -35,5 +36,6 @@ AC_FUNC_MALLOC AC_FUNC_REALLOC AC_TYPE_SIZE_T AC_TYPE_SSIZE_T +AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT -- cgit v1.2.3