diff options
-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 |