build: remove AC_FUNC_MALLOC
authorJan Engelhardt <jengelh@inai.de>
Wed, 23 Sep 2015 14:25:37 +0000 (16:25 +0200)
committerJan Engelhardt <jengelh@inai.de>
Wed, 23 Sep 2015 14:25:37 +0000 (16:25 +0200)
What is the rationale to have AC_FUNC_MALLOC? It does not actually
abort the configure run if an "unsuitable" malloc was found, and
instead just replaces malloc by rpl_malloc, for which systemd however
has no definition, either.

Remove the call.

configure.ac

index 5cdd1d1..ef03fb0 100644 (file)
@@ -1261,7 +1261,6 @@ if test "x$enable_myhostname" != "xno"; then
         AC_TYPE_SIZE_T
         AC_HEADER_TIME
 
-        AC_FUNC_MALLOC
         AC_FUNC_SELECT_ARGTYPES
         AC_CHECK_FUNCS([gethostbyaddr gethostbyname gettimeofday inet_ntoa memset select socket strcspn strdup strerror strncasecmp strcasecmp strspn])