From 88d6ee85348be4226efbd054ae1f0f6b4cca6ede Mon Sep 17 00:00:00 2001 From: Leonardo Taglialegne Date: Wed, 4 Sep 2013 14:30:31 +0200 Subject: [PATCH] [Shim] Check for functions during configure --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 569e3bb..a32a162 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,12 @@ AC_ARG_WITH([unit-tests], AC_HELP_STRING([--with-unit-tests],[build the unit tests]), [UNIT_TESTS=$withval]) +AC_CHECK_FUNCS(send recv bind listen accept \ + chmod unlink fork execv exit \ + getpid getuid geteuid getgid getegid setreuid setregid \ + strlen strncpy strncmp printf fprintf snprintf \ + perror,, AC_MSG_ERROR("Cannot find standard functions")) + # Mono SHAMROCK_CHECK_MONO_MODULE(2.10.0) SHAMROCK_FIND_MONO_2_0_COMPILER