From: Ted Percival Date: Sat, 26 Apr 2008 11:55:04 +0000 (+0000) Subject: Disable AC_FUNC_MALLOC and AC_FUNC_REALLOC X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d173d6630d3bf1ff17c874cdc105ff6016df5377;p=catta 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 --- 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