summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Percival <ted@tedp.net>2008-04-26 11:55:04 +0000
committerTed Percival <ted@tedp.net>2008-04-26 11:55:04 +0000
commitd173d6630d3bf1ff17c874cdc105ff6016df5377 (patch)
tree368465b1c93d25dd918146543f1f58302462fe4b
parentbd08c7fb439987cf18386e7e6f9a3eeba855ed00 (diff)
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
-rw-r--r--configure.ac6
1 files 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