aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2012-04-21 23:56:42 -0700
committerPaul Eggert2012-04-21 23:56:42 -0700
commit4b5b5289577b4cc89ee45595832f943ef9a43de6 (patch)
treef9ba05ad7f326ebcf6616a00ae8ffc2e3446eceb /src/alloc.c
parentf01769f9ca9cc718cc5ae3c9b6f2669ad8d93c24 (diff)
downloademacs-4b5b5289577b4cc89ee45595832f943ef9a43de6.tar.gz
emacs-4b5b5289577b4cc89ee45595832f943ef9a43de6.zip
* configure.in (doug_lea_malloc): Check for __malloc_initialize_hook.
With glibc 2.14 or later, when compiled with GCC 4.7.0's -Werror=deprecated-declarations flag, use of hooks like __malloc_initialize_hook causes compilation to fail because these hooks are deprecated. Modify 'configure' to check for these hooks too. Simplify the 'configure' code to test for all the hooks at once. (emacs_cv_var___after_morecore_hook): Remove, replacing with ... (emacs_cv_var_doug_lea_malloc): ... this new var.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions