Port --enable-gcc-warnings to bleeding-edge glibc
commit7bb5c4f206bfbe46b5f4a376633437f8999d956a
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Oct 2016 04:54:13 +0000 (23 21:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Oct 2016 04:55:07 +0000 (23 21:55 -0700)
treea98e0c598786246287995b6b1cf6c7882a253efb
parentee04aedc723b035eedaf975422d4eb242894121b
Port --enable-gcc-warnings to bleeding-edge glibc

Bleeding-edge glibc sets emacs_cv_var_doug_lea_malloc to 'no'.
Do not merge to master.
* configure.ac: Check for valloc decl when compiling gmalloc.c.
* src/gmalloc.c (emacs_abort) [emacs]: Adjust decl to match
what is in lisp.h.  Remove duplicate decl.
(aligned_alloc): #undef before defining.
(aligned_alloc, memalign) [!MSDOS]: Declare.
(valloc) [HAVE_DECL_VALLOC]: Remove duplicate decl.
configure.ac
src/gmalloc.c