summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
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)
# ------------------------------------------------------------------------------