diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-02-01 16:37:37 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-02-16 16:17:14 +0100 |
commit | b78bc9304b21da16312473b1f4dc0f8870fb8df9 (patch) | |
tree | 54b5848703d09d0b3c02bec419e2d048bd2dd501 | |
parent | b16500f93407aef72445b03c1ee96c6768917906 (diff) |
build: Check *asprintf on all platforms
-rw-r--r-- | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 84cb7ef..3ff62cc 100644 --- a/configure.ac +++ b/configure.ac @@ -89,12 +89,9 @@ if test "$os_unix" = "yes"; then AC_CHECK_FUNCS([getprogname getexecname basename mkstemp mkdtemp]) AC_CHECK_FUNCS([getauxval issetugid getresuid secure_getenv]) AC_CHECK_FUNCS([strnstr memdup strndup strerror_r]) - AC_CHECK_FUNCS([asprintf vasprintf vsnprintf]) AC_CHECK_FUNCS([fdwalk]) AC_CHECK_FUNCS([setenv]) - AC_CHECK_DECLS([asprintf, vasprintf], [], [], [[#include <stdio.h>]]) - # Required functions AC_CHECK_FUNCS([gmtime_r], [AC_DEFINE([HAVE_GMTIME_R], 1, [Whether gmtime_r() is available])], @@ -116,6 +113,10 @@ if test "$os_unix" = "yes"; then [AC_DEFINE(HAVE___LIBC_ENABLE_SECURE, [1], [Whether __libc_enable_secure available])]) fi +# These are thngs we can work around +AC_CHECK_FUNCS([asprintf vasprintf vsnprintf]) +AC_CHECK_DECLS([asprintf, vasprintf], [], [], [[#include <stdio.h>]]) + AC_CHECK_LIB(intl, dgettext) # ------------------------------------------------------------------------------ |