summaryrefslogtreecommitdiffstats
path: root/source/build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-26 14:20:46 +0000
committerStefan Metzmacher <metze@samba.org>2006-04-26 14:20:46 +0000
commitd87ed5ad95ff7fc6ba719c8c1378a92d17cad7f7 (patch)
tree290fa1f6405305e30da9689a9137a914ea4b28cc /source/build
parent8272034f6a28706b467ea7cd028375ff6db0953e (diff)
downloadsamba-d87ed5ad95ff7fc6ba719c8c1378a92d17cad7f7.tar.gz
samba-d87ed5ad95ff7fc6ba719c8c1378a92d17cad7f7.tar.xz
samba-d87ed5ad95ff7fc6ba719c8c1378a92d17cad7f7.zip
r15280: - remove the 2nd check for __FUNCTION__
- fallback to __func__ if __FUNCTION__ isn't there metze
Diffstat (limited to 'source/build')
-rw-r--r--source/build/m4/check_cc.m47
1 files changed, 0 insertions, 7 deletions
diff --git a/source/build/m4/check_cc.m4 b/source/build/m4/check_cc.m4
index 64f44cd6ff7..f5b6fa09950 100644
--- a/source/build/m4/check_cc.m4
+++ b/source/build/m4/check_cc.m4
@@ -187,13 +187,6 @@ AC_SUBST(HOSTCC)
AC_PATH_PROG(GCOV,gcov)
-AC_CACHE_CHECK([for __FUNCTION__ macro],samba_cv_HAVE_FUNCTION_MACRO,[
-AC_TRY_COMPILE([#include <stdio.h>], [printf("%s\n", __FUNCTION__);],
-samba_cv_HAVE_FUNCTION_MACRO=yes,samba_cv_HAVE_FUNCTION_MACRO=no)])
-if test x"$samba_cv_HAVE_FUNCTION_MACRO" = x"yes"; then
- AC_DEFINE(HAVE_FUNCTION_MACRO,1,[Whether there is a __FUNCTION__ macro])
-fi
-
AC_PATH_PROG(MAKE,make)
AC_CACHE_CHECK([whether we have GNU make], samba_cv_gnu_make, [