1 From 1c3d615d93b20d10c2729478d5104977dd9af23f Mon Sep 17 00:00:00 2001
2 From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
3 Date: Wed, 5 Aug 2015 12:59:45 +0200
4 Subject: [PATCH] Fixing initialization of have_vasprintf
6 This patch initialize properly have_vasprintf in case vasprint function is found.
7 Solves multiple definition of `vasprintf' error in case vasprint is not properly detected.
11 https://github.com/mono/mono/commit/40c171799b671718969ee28a02f92884d7fd181e
13 Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
15 eglib/configure.ac | 1 +
16 1 file changed, 1 insertion(+)
18 diff --git a/eglib/configure.ac b/eglib/configure.ac
19 index 5281419..4bf91e5 100644
20 --- a/eglib/configure.ac
21 +++ b/eglib/configure.ac
22 @@ -135,6 +135,7 @@ AC_CHECK_SIZEOF(void *)
24 AC_CHECK_SIZEOF(long long)
25 AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf)
26 +AC_CHECK_FUNC(vasprintf, have_vasprintf=yes)
27 AC_CHECK_FUNCS(getrlimit)