summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 621c23ed50..10df01b61c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -151,6 +151,11 @@ AC_TRY_COMPILE([#include <sys/types.h>
echo yes;AC_DEFINE(HAVE_SOCK_SIN_LEN),
echo no)
+echo $ac_n "checking for __FUNCTION__ macro ... $ac_c"
+AC_TRY_COMPILE([#include <stdio.h>], [printf("%s\n", __FUNCTION__);],
+echo yes;AC_DEFINE(HAVE_FUNCTION_MACRO),
+echo no)
+
echo $ac_n "checking if gettimeofday takes tz argument ... $ac_c"
AC_TRY_RUN([
#include <sys/time.h>