From d173d6630d3bf1ff17c874cdc105ff6016df5377 Mon Sep 17 00:00:00 2001 From: Ted Percival Date: Sat, 26 Apr 2008 11:55:04 +0000 Subject: [PATCH] Disable AC_FUNC_MALLOC and AC_FUNC_REALLOC because they cause unnecessary build failures Closes #196 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1780 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 65e5367..5590fdd 100644 --- a/configure.ac +++ b/configure.ac @@ -353,8 +353,10 @@ AC_HEADER_SYS_WAIT # Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_SELECT_ARGTYPES -AC_FUNC_MALLOC -AC_FUNC_REALLOC +# avahi_malloc actually returns NULL for avahi_malloc(0), so it does not matter +# whether libc's malloc does too. (Same for realloc.) +#AC_FUNC_MALLOC +#AC_FUNC_REALLOC AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname]) AC_FUNC_CHOWN -- 2.39.2