Fix variable declaration with no type in the configure script.

This commit is contained in:
Guilherme Goncalves 2014-10-20 14:08:37 -02:00
parent 8f47e3d82b
commit 79725aa6f6

View File

@ -1363,7 +1363,7 @@ if test "x${enable_zone_allocator}" = "x1" ; then
AC_DEFUN([JE_ZONE_PROGRAM], AC_DEFUN([JE_ZONE_PROGRAM],
[AC_LANG_PROGRAM( [AC_LANG_PROGRAM(
[#include <malloc/malloc.h>], [#include <malloc/malloc.h>],
[static foo[[sizeof($1) $2 sizeof(void *) * $3 ? 1 : -1]]] [static int foo[[sizeof($1) $2 sizeof(void *) * $3 ? 1 : -1]]]
)]) )])
AC_COMPILE_IFELSE([JE_ZONE_PROGRAM(malloc_zone_t,==,14)],[JEMALLOC_ZONE_VERSION=3],[ AC_COMPILE_IFELSE([JE_ZONE_PROGRAM(malloc_zone_t,==,14)],[JEMALLOC_ZONE_VERSION=3],[