diff options
author | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:50 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2005-12-03 04:41:50 +0000 |
commit | 874af611e76e4edadfb53479b80ddbd021052aae (patch) | |
tree | b3c1571423716ccb623620aae1e2f0d9caaccc3b | |
parent | c2874804715f99c6c735079cc018db77494ba0cd (diff) |
Add check and cflags for malloc(0) returning NULL.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
3 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2005-12-02 Kevin E. Martin <kem-at-freedesktop-dot-org> + + * configure.ac: + * src/Makefile.am: + Add check and cflags for malloc(0) returning NULL. + 2005-11-19 Kevin E. Martin <kem-at-freedesktop-dot-org> * xrender.pc.in: diff --git a/configure.ac b/configure.ac index f9c18dd..31e3e75 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,7 @@ PKG_CHECK_MODULES(RENDER, renderproto >= $RENDER_VERSION) AC_SUBST(RENDER_CFLAGS) +XORG_CHECK_MALLOC_ZERO XORG_RELEASE_VERSION AC_OUTPUT([Makefile diff --git a/src/Makefile.am b/src/Makefile.am index 0208819..19dab07 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = $(RENDER_CFLAGS) $(X_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include/X11/extensions +AM_CFLAGS = $(RENDER_CFLAGS) $(X_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/include/X11/extensions $(MALLOC_ZERO_CFLAGS) lib_LTLIBRARIES = libXrender.la |