diff options
author | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2015-08-05 13:59:45 +0300 |
---|---|---|
committer | Angelo Compagnucci <angelo.compagnucci@gmail.com> | 2015-08-05 13:59:45 +0300 |
commit | 1c3d615d93b20d10c2729478d5104977dd9af23f (patch) | |
tree | e44e16b655ec7703c914890486db809331b8e004 /eglib | |
parent | dc7031cabb939e3644c63642e29b988d12715fa3 (diff) |
Fixing initialization of have_vasprintf
This patch initialize properly have_vasprintf in case vasprint function is found.
Solves multiple definition of `vasprintf' error in case vasprint is not properly detected.
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eglib/configure.ac b/eglib/configure.ac index 5281419c00b..4bf91e56541 100644 --- a/eglib/configure.ac +++ b/eglib/configure.ac @@ -135,6 +135,7 @@ AC_CHECK_SIZEOF(void *) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long long) AC_CHECK_FUNCS(strlcpy stpcpy strtok_r rewinddir vasprintf) +AC_CHECK_FUNC(vasprintf, have_vasprintf=yes) AC_CHECK_FUNCS(getrlimit) # |