From a98aa666203cad87913303d2f8b9ca07640518c3 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Fri, 11 Jan 2013 13:51:39 +0600 Subject: string_util.c: provide fallback strndup() implementation This patch also adds extern "C" { } wrapper around string_util.h to allow its usage in C++ code --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1cd27ffe..5515eb18 100644 --- a/configure.ac +++ b/configure.ac @@ -135,6 +135,8 @@ AC_SEARCH_LIBS([gethostbyname], [nsl]) AC_CHECK_FUNCS(pipe2 accept4 eventfd) +AC_CHECK_FUNCS(strndup) + AC_SEARCH_LIBS([exp], [m],, [AC_MSG_ERROR([exp() not found])]) -- cgit v1.2.3