From b78bc9304b21da16312473b1f4dc0f8870fb8df9 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 1 Feb 2017 16:37:37 +0100 Subject: build: Check *asprintf on all platforms --- configure.ac | 7 ++++--- 1 file 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 ]]) - # 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 ]]) + AC_CHECK_LIB(intl, dgettext) # ------------------------------------------------------------------------------ -- cgit v1.1