diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-08-29 17:03:16 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-08-29 17:03:16 +0000 |
commit | 308eab2402422262d9b895f98008a4d5b176be59 (patch) | |
tree | f68a6d824cc7b23ce9df45a3fc14732a0625752b /configure.ac | |
parent | 3f8a19f31a2458b639f12a0f31eb182d5c524c18 (diff) | |
download | gnunet-308eab2402422262d9b895f98008a4d5b176be59.tar.gz gnunet-308eab2402422262d9b895f98008a4d5b176be59.zip |
- Fix memory posioning on OS X (MSIZE is pre-defined to 256, doesnt HAVE_MALLOC_USABLE_MEMORY -> compile error)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index be8209869..553b6a33c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -444,7 +444,7 @@ AC_HEADER_STDC | |||
444 | AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h string.h unistd.h stdarg.h signal.h locale.h sys/stat.h sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers files])) | 444 | AC_CHECK_HEADERS([fcntl.h math.h errno.h ctype.h limits.h stdio.h stdlib.h string.h unistd.h stdarg.h signal.h locale.h sys/stat.h sys/types.h],,AC_MSG_ERROR([Compiling GNUnet requires standard UNIX headers files])) |
445 | 445 | ||
446 | # Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) | 446 | # Checks for headers that are only required on some systems or opional (and where we do NOT abort if they are not there) |
447 | AC_CHECK_HEADERS([malloc.h langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h ucred.h endian.h sys/endian.h execinfo.h]) | 447 | AC_CHECK_HEADERS([malloc.h malloc/malloc.h langinfo.h sys/param.h sys/mount.h sys/statvfs.h sys/select.h sockLib.h sys/mman.h sys/msg.h sys/vfs.h arpa/inet.h fcntl.h libintl.h netdb.h netinet/in.h netinet/in_systm.h sys/ioctl.h sys/socket.h sys/time.h unistd.h kstat.h sys/sysinfo.h kvm.h sys/file.h sys/resource.h ifaddrs.h mach/mach.h stddef.h sys/timeb.h terminos.h argz.h ucred.h endian.h sys/endian.h execinfo.h]) |
448 | 448 | ||
449 | SAVE_LDFLAGS=$LDFLAGS | 449 | SAVE_LDFLAGS=$LDFLAGS |
450 | SAVE_CPPFLAGS=$CPPFLAGS | 450 | SAVE_CPPFLAGS=$CPPFLAGS |
@@ -717,7 +717,7 @@ AC_FUNC_VPRINTF | |||
717 | AC_HEADER_SYS_WAIT | 717 | AC_HEADER_SYS_WAIT |
718 | AC_TYPE_OFF_T | 718 | AC_TYPE_OFF_T |
719 | AC_TYPE_UID_T | 719 | AC_TYPE_UID_T |
720 | AC_CHECK_FUNCS([atoll stat64 strnlen mremap setrlimit sysconf initgroups strndup gethostbyname2 getpeerucred getpeereid setresuid $funcstocheck getifaddrs freeifaddrs getresgid mallinfo malloc_usable_size]) | 720 | AC_CHECK_FUNCS([atoll stat64 strnlen mremap setrlimit sysconf initgroups strndup gethostbyname2 getpeerucred getpeereid setresuid $funcstocheck getifaddrs freeifaddrs getresgid mallinfo malloc_size malloc_usable_size]) |
721 | 721 | ||
722 | # restore LIBS | 722 | # restore LIBS |
723 | LIBS=$SAVE_LIBS | 723 | LIBS=$SAVE_LIBS |